MCPcopy
hub / github.com/expr-lang/expr / Less

Method Less

internal/testify/require/require_forward.go:936–941  ·  view source on GitHub ↗

Less asserts that the first element is less than the second a.Less(1, 2) a.Less(float64(1), float64(2)) a.Less("a", "b")

(e1 interface{}, e2 interface{}, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

934// a.Less(float64(1), float64(2))
935// a.Less("a", "b")
936func (a *Assertions) Less(e1 interface{}, e2 interface{}, msgAndArgs ...interface{}) {
937 if h, ok := a.t.(tHelper); ok {
938 h.Helper()
939 }
940 Less(a.t, e1, e2, msgAndArgs...)
941}
942
943// LessOrEqual asserts that the first element is less than or equal to the second
944//

Callers

nothing calls this directly

Calls 2

LessFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected