isLetter property

bool isLetter

Implementation

bool get isLetter {
  assert(this.length == 1);

  final c = this[0];

  return !(c == c.toLowerCase() && c == c.toUpperCase());
}