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?
Thank you! We'll create more content like this.
Thank you for helping us improve!