MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / IsUtf16Surrogate

Function IsUtf16Surrogate

src/String.cpp:87–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85#endif
86
87inline static bool IsUtf16Surrogate(int ch)
88{
89 return ch>=0xd800 && ch<0xe000;
90}
91inline static bool IsUtf16LowSurrogate(int ch)
92{
93 return ch>=0xdc00 && ch<0xe000;

Callers 2

Char16AdvanceFunction · 0.85
Char16AdvanceSetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected