powered by
Return TRUE if all elements of a character vector are blank (white spaces or empty strings).
TRUE
is_blank(x)
TRUE if the input is blank, or FALSE otherwise.
FALSE
A character vector.
xfun::is_blank("") xfun::is_blank("abc") xfun::is_blank(c("", " ", "\n\t")) xfun::is_blank(c("", " ", "abc"))
Run the code above in your browser using DataLab