is.string | R Documentation |
Checks if provided object is a string i.e. a length-one character vector.
is.string(x)
x |
an object to check |
a logical value indicating whether provided object is a string
is.string("foobar") # [1] TRUE is.string(1) # [1] FALSE is.string(c("foo", "bar")) # [1] FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.