isSurrogatePair property

bool get isSurrogatePair

Check if the string contains any surrogate pairs chars

Implementation

bool get isSurrogatePair => RegexUtils.surrogatePairs.hasMatch(this);