isxdigit method

bool isxdigit(
  1. String c
)

Checks if the character is a hexadecimal digit (0-9, a-f, A-F).

Implementation

bool isxdigit(String c) {
  int code = _getCode(c);
  return (code >= 48 && code <= 57) ||
         (code >= 65 && code <= 70) ||
         (code >= 97 && code <= 102);
}