MCPcopy Create free account
hub / github.com/microsoft/typescript-go / IsLowSurrogate

Function IsLowSurrogate

internal/stringutil/util.go:293–295  ·  view source on GitHub ↗
(ch rune)

Source from the content-addressed store, hash-verified

291}
292
293func IsLowSurrogate(ch rune) bool {
294 return utf16.IsSurrogate(ch) && ch >= SurrogateLowStart
295}
296
297func IsSurrogate(ch rune) bool {
298 return utf16.IsSurrogate(ch)

Callers 3

scanEscapeSequenceMethod · 0.92
CombineSurrogatePairsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected