isHexDigit static method

bool isHexDigit(
  1. int c
)

Implementation

static bool isHexDigit(int c) {
  return (isDigit(c) || (c >= 97 /*a*/ && c <= 102 /*f*/) || (c >= 65 /*A*/ && c <= 70 /*F*/));
}