powered by
Return a logical vector indicating if elements of a character vector are blank (white spaces or empty strings).
is_blank(x)
TRUE for blank elements, or FALSE otherwise.
TRUE
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