isDigit function

bool isDigit(
  1. int x
)

Implementation

bool isDigit(int x) =>
    char.$0 <= x &&
    x <= char.$9;