is.character.or.NULL | R Documentation |
is.character.or.NULL()
verifies if the provided input is either a character vector or NULL.
is.character.or.NULL(x)
x |
The input to check. |
Returns TRUE
if x
is either a character vector or NULL
, otherwise FALSE
.
is.character.or.NULL(NULL) # TRUE
is.character.or.NULL("example") # TRUE
is.character.or.NULL(123) # FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.