isAscii property

bool get isAscii

Check if the string contains ASCII chars only

Implementation

bool get isAscii => RegexUtils.ascii.hasMatch(this);