Str.asciiIsdigit

Determines whether a character is digit (0-9). Unlike the standard C library isdigit() function, this takes a char, not an int, so don't call it on EOF, but no need to cast to guchar before passing a possibly non-ASCII character in.

class Str
static
int
asciiIsdigit
(
char c
)

Parameters

c char

any character

Return Value

Type: int

TRUE if c is an ASCII digit.

Meta