Skip to content

is_alnum

Checks if a string is alphanumeric.

is_alnum(x:string) -> bool

The is_alnum function returns true if x contains only alphanumeric characters and false otherwise.

from {x: "hello123".is_alnum()}
{x: true}

is_alpha, is_numeric