isAsciiPunctuationCharacter property

bool get isAsciiPunctuationCharacter

Implementation

bool get isAsciiPunctuationCharacter =>
    isNotEmpty &&
    codeUnits.length == 1 &&
    (_between(codeUnitAt(0), 0x21, 0x2F) ||
        _between(codeUnitAt(0), 0x3A, 0x40) ||
        _between(codeUnitAt(0), 0x5B, 0x60) ||
        _between(codeUnitAt(0), 0x7B, 0x7E));