Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/expr-lang/expr
/ Less
Method
Less
vm/runtime/sort.go:39–45 ·
view source on GitHub ↗
(i, j int)
Source
from the content-addressed store, hash-verified
37
}
38
39
func
(s *Sort) Less(i, j int) bool {
40
a, b := s.Array[i], s.Array[j]
41
if
s.Desc {
42
return
Less(b, a)
43
}
44
return
Less(a, b)
45
}
Callers
nothing calls this directly
Calls
1
Less
Function · 0.70
Tested by
no test coverage detected