Learn R Programming

pystr (version 2.0.0)

pystr_islower: Check if a string is lowercase.

Description

Return TRUE if all cased characters in the string are lowercase and there is at least one cased character, FALSE otherwise.

Usage

pystr_islower(str)

Arguments

str
A character vector.

Value

A logical vector.

References

https://docs.python.org/3/library/stdtypes.html#str.islower

See Also

pystr_isupper

Examples

Run this code
pystr_islower("all lowercase!")
pystr_islower("All Lowercase?")
pystr_islower("abc123")

Run the code above in your browser using DataLab