xDigitP

HC Data Structure Primitives Predicates xDigitP
UpperP Queries

xDigitP achar
xDigit? achar


outputs true if the input is a character in the subset of hexadecimal digit characters.

Examples:

xdigit? "a	;true  ;-)
xdigit? "A	;true  ;-)
xdigit? "1	;true  ;-)
xdigit? 1	;false  ;-)
xdigit? "ü	;false  ;-)
xdigit? "!	;false  ;-)
xdigit? char 13	;false  ;-)
xdigit? "\ 	;false  ;-)

UpperP Queries