isDigit static method

bool isDigit(
  1. int c
)

Implementation

static bool isDigit(int c) {
  return c >= 48 /*0*/ && c <= 57 /*9*/;
}