MCPcopy Create free account
hub / github.com/dop251/goja / String

Method String

string_unicode.go:494–496  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

492}
493
494func (s unicodeString) String() string {
495 return string(utf16.Decode(s[1:]))
496}
497
498func (s unicodeString) CompareTo(other String) int {
499 // TODO handle invalid UTF-16

Callers 5

toTrimmedUTF8Method · 0.95
CompareToMethod · 0.95
toLowerMethod · 0.95
toUpperMethod · 0.95
ExportMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected