MCPcopy Create free account
hub / github.com/cel-expr/cel-go / Less

Method Less

cel/folding_test.go:1809–1809  ·  view source on GitHub ↗

Less indicates whether the value at index i is less than the value at index j.

(i, j int)

Source from the content-addressed store, hash-verified

1807
1808// Less indicates whether the value at index i is less than the value at index j.
1809func (x int64Slice) Less(i, j int) bool { return x[i] < x[j] }
1810
1811// Swap swaps the values at indices i and j in place.
1812func (x int64Slice) Swap(i, j int) { x[i], x[j] = x[j], x[i] }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected