isCharCode property

bool Function(int cc, {bool digit = false, bool lower = false, bool upper = false, bool whitespace = false}) isCharCode
final

Returns whether the character code matches the specified conditions.

  • cc is the character to test.
  • digit specifies if it matches digit.
  • upper specifies if it matches upper case.
  • lower specifies if it matches lower case.
  • whitespace specifies if it matches whitespace.
  • match specifies a string of characters that are matched (aka., allowed).

Implementation

static final isCharCode = util.isCharCode;