Home Contents | # ctype.isdigit | Ctype | Core4 Lua Commands

## SYNOPSIS

result = ctype.isdigit(code)

## DESCRIPTION

The ctype.isdigit function tests for any decimal-digit character (0-9).

## RETURN VALUE

The function returns a boolean indicating if the character test succeeded.

## SEE ALSO

ctype.isalnum, ctype.isalpha, ctype.isascii, ctype.isblank, ctype.iscntrl, ctype.isgraph, ctype.islower, ctype.isprint, ctype.ispunct, ctype.isspace, ctype.isupper, ctype.isxdigit