Skip to main content
Version: v4.24

is_upper

Checks if a string is in uppercase.

is_upper(x:string) -> bool

Description

The is_upper function returns true if x is entirely in uppercase; otherwise, it returns false.

Examples

Check if a string is uppercase

from {x: "HELLO".is_upper()}
{x: true}

See Also

to_upper, is_lower