isChar property

bool Function(String cc, {bool digit = false, bool lower = false, String? match, bool upper = false, bool whitespace = false}) isChar
final

Returns whether the character 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 isChar = util.isChar;