Skip to main content
Log in

Mojo function

isdigit

isdigit(c: SIMD[uint8, 1]) -> Bool

Determines whether the given character is a digit [0-9].

Args:

  • c (SIMD[uint8, 1]): The character to check.

Returns:

True if the character is a digit.

Was this page helpful?