isDigit static method

bool isDigit(
  1. String s
)

Returns true if s is a digit.

Implementation

static bool isDigit(String s) => _regexpIsDigit.hasMatch(s);