isDigit static method

bool isDigit(
  1. int ch
)

Implementation

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