The OpenD Programming Language

isLower

@safe pure nothrow @nogc
bool
isLower
(
dchar c
)

Return Value

Type: bool

Whether c is a lowercase ASCII letter (a .. z).

Examples

assert( isLower('a'));
assert(!isLower('A'));
assert(!isLower('#'));

// N.B.: does not return true for non-ASCII Unicode lowercase letters
assert(!isLower('á'));
assert(!isLower('Á'));

Meta