isDigit function

bool isDigit(
  1. int code
)

Returns true when code is an ASCII digit.

Implementation

bool isDigit(int code) =>
    code >= digitZeroCodeUnit && code <= digitNineCodeUnit;