isSurrogatePair function

  1. @experimental
bool isSurrogatePair(
  1. String str
)

Returns true if str contains surrogate pairs.

Implementation

@experimental
bool isSurrogatePair(String str) => surrogatePairsReg.hasMatch(str);