Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
190
func
(i *importedString) CompareTo(v String) int {
191
return
strings.Compare(i.s, v.String())
192
}
193
194
func
(i *importedString) Reader() io.RuneReader {
195
if
i.scanned {
Callers
nothing calls this directly
Calls
1
String
Method · 0.65
Tested by
no test coverage detected