cl-digit-char-p

cl-digit-char-p is a compiled Lisp function in `cl-lib.el'.

(cl-digit-char-p CHAR &optional RADIX)

Test if CHAR is a digit in the specified RADIX (default 10).
If true return the decimal value of digit CHAR in RADIX.