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

Method CompareTo

string_imported.go:190–192  ·  view source on GitHub ↗
(v String)

Source from the content-addressed store, hash-verified

188}
189
190func (i *importedString) CompareTo(v String) int {
191 return strings.Compare(i.s, v.String())
192}
193
194func (i *importedString) Reader() io.RuneReader {
195 if i.scanned {

Callers

nothing calls this directly

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected