Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
293
func
IsLowSurrogate(ch rune) bool {
294
return
utf16.IsSurrogate(ch) && ch >= SurrogateLowStart
295
}
296
297
func
IsSurrogate(ch rune) bool {
298
return
utf16.IsSurrogate(ch)
Callers
3
scanEscapeSequence
Method · 0.92
scanLowSurrogateEscape
Method · 0.92
CombineSurrogatePairs
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected