strs_isupper {strs} | R Documentation |
Check if string is in uppercase
Description
strs_isupper
checks whether each element of a character vector is in
uppercase. It is similar to Python's str.isupper()
method.
Usage
strs_isupper(string)
Arguments
string |
A character vector to be checked. |
Value
A logical vector of the same length as string
, indicating whether
each element is entirely in uppercase.
See Also
Python str.isupper() documentation
Examples
strs_isupper("HELLO")
strs_isupper("Hello")
[Package strs version 0.1.0 Index]