Description Usage Arguments Details Value
WARNING: This function fails when the value of x is "x"!! (i.e. it returns TRUE even when object 'x' is NOT a string per se –i.e. it was not passed as "x")
1 | is_string(x)
|
x |
object to check. |
The result of this function is different from is.character(x) since this function returns TRUE for an array of character values!
boolean indicating whether the object is a string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.