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

Method LessOrEqual

internal/testify/assert/assertion_forward.go:947–952  ·  view source on GitHub ↗

LessOrEqual asserts that the first element is less than or equal to the second a.LessOrEqual(1, 2) a.LessOrEqual(2, 2) a.LessOrEqual("a", "b") a.LessOrEqual("b", "b")

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

Source from the content-addressed store, hash-verified

945// a.LessOrEqual("a", "b")
946// a.LessOrEqual("b", "b")
947func (a *Assertions) LessOrEqual(e1 interface{}, e2 interface{}, msgAndArgs ...interface{}) bool {
948 if h, ok := a.t.(tHelper); ok {
949 h.Helper()
950 }
951 return LessOrEqual(a.t, e1, e2, msgAndArgs...)
952}
953
954// LessOrEqualf asserts that the first element is less than or equal to the second
955//

Callers

nothing calls this directly

Calls 2

LessOrEqualFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected