isAlphabet property

bool get isAlphabet

Determines whether a given string consists only of alphabetic characters. No whitespace is allowed.

Implementation

bool get isAlphabet => _hasMatch(this, r'^[a-zA-Z]+$');