Skip to main content

is_alphanumeric

Function is_alphanumeric 

Source
pub fn is_alphanumeric(text: &str) -> bool
Expand description

Validates if a string contains only alphanumeric characters.

§Arguments

  • text - A string slice to validate.

§Returns

  • A bool indicating whether the text is alphanumeric.