powered by
strs_isspace checks whether each element of a character vector contains only whitespace characters. It is similar to Python's str.isspace() method.
strs_isspace
str.isspace()
strs_isspace(string)
A logical vector of the same length as string, indicating whether each element contains only whitespace characters.
string
A character vector to be checked.
Python str.isspace() documentation
strs_isspace(" ") strs_isspace("hello world")
Run the code above in your browser using DataLab