isDigit static method

bool isDigit(
  1. int chr
)

Implementation

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