Skip to main content
Version: Next

is_title

Checks if a string follows title case.

is_title(x:string) -> bool

Description

The is_title function returns true if x is in title case and false otherwise.

Examples

Check if a string is in title case

from {x: "Hello World".is_title()}
{x: true}

See Also

to_title