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

Method string

string_imported.go:54–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52}
53
54func (i *importedString) string() unistring.String {
55 i.ensureScanned()
56 if i.u != nil {
57 return unistring.FromUtf16(i.u)
58 }
59 return unistring.String(i.s)
60}
61
62func (i *importedString) ToString() Value {
63 return i

Callers

nothing calls this directly

Calls 3

ensureScannedMethod · 0.95
FromUtf16Function · 0.92
StringTypeAlias · 0.92

Tested by

no test coverage detected