Skip to main content
Version: Next

is_alpha

Checks if a string contains only alphabetic characters.

is_alpha(x:string) -> bool

Description

The is_alpha function returns true if x contains only alphabetic characters and false otherwise.

Examples

Check if a string is alphabetic

from {x: "hello".is_alpha()}
{x: true}

See Also

is_alnum, is_lower, is_upper