MCPcopy 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
39func (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

LessFunction · 0.70

Tested by

no test coverage detected