(rontolisp) docs
← Functions

digit-char-p

(digit-char-p character &optional radix)

Returns the integer weight of character as a digit in the given radix (default 10), or nil if it is not a valid digit in that radix. For example #\7 is 7, and #\f is 15 in radix 16. Letters are accepted as digits for radices above 10, case-insensitively.