hex-digit? ( ch -- ? )


Vocabulary
hex-strings

Inputs
cha character


Outputs
?a boolean


Word description
Checks if a digit is in hexadecimal format, e.g. a-f A-F and 0-9

Examples
USING: hex-strings prettyprint ; CHAR: a hex-digit? .
t

USING: hex-strings prettyprint ; CHAR: z hex-digit? .
f


Definition