isHighSurrogate method

bool isHighSurrogate(
  1. int codeUnit
)

Implementation

bool isHighSurrogate(int codeUnit) {
  return codeUnit >= 0xD800 && codeUnit <= 0xDBFF;
}