strs_islower: Check if string is in lowercase

View source: R/islower.R

strs_islowerR Documentation

Check if string is in lowercase

Description

strs_islower checks whether each element of a character vector is in lowercase. It is similar to Python's str.islower() method.

Usage

strs_islower(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 lowercase.

See Also

Python str.islower() documentation

Examples

strs_islower("hello")
strs_islower("Hello")

strs documentation built on Sept. 11, 2024, 6:44 p.m.