MCPcopy Index your code
hub / github.com/dop251/goja / Length

Method Length

string_imported.go:159–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157}
158
159func (i *importedString) Length() int {
160 i.ensureScanned()
161 if i.u != nil {
162 return i.u.Length()
163 }
164 return asciiString(i.s).Length()
165}
166
167func (i *importedString) Concat(v String) String {
168 if !i.scanned {

Callers

nothing calls this directly

Calls 3

ensureScannedMethod · 0.95
asciiStringTypeAlias · 0.85
LengthMethod · 0.65

Tested by

no test coverage detected