klyn.code.CodeTokenizer.isAsciiDigit
method
public static isAsciiDigit(ch as Char) as Boolean
Description

Fast ASCII decimal digit test ('0'..'9').

Parameters
ParameterDescription
chCharacter to inspect.
Returns

true when ch is an ASCII digit.

Example
import klyn.code

assert CodeTokenizer.isAsciiDigit('7')
assert not CodeTokenizer.isAsciiDigit('a')