MCPcopy Index your code
hub / github.com/expr-lang/expr / Less

Method Less

internal/testify/assert/assertion_forward.go:934–939  ·  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

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

Callers

nothing calls this directly

Calls 2

LessFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected