isDigit function

bool isDigit(
  1. String c
)

Implementation

bool isDigit(String c) {
  return '0123456789'.contains(c);
}