R/isupper.R
strs_isupper.Rd
strs_isupper checks whether each element of a character vector is in uppercase. It is similar to Python's str.isupper() method.
strs_isupper
str.isupper()
strs_isupper(string)
A character vector to be checked.
A logical vector of the same length as string, indicating whether each element is entirely in uppercase.
string
Python str.isupper() documentation
strs_isupper("HELLO") #> [1] TRUE strs_isupper("Hello") #> [1] FALSE