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!
If you'd like to share more information, please report an issue on GitHub
π What went wrong?