is_blank | R Documentation |
Return a logical vector indicating if elements of a character vector are blank (white spaces or empty strings).
is_blank(x)
x |
A character vector. |
TRUE
for blank elements, or FALSE
otherwise.
xfun::is_blank("")
xfun::is_blank("abc")
xfun::is_blank(c("", " ", "\n\t"))
xfun::is_blank(c("", " ", "abc"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.