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

Method LessOrEqualf

internal/testify/assert/assertion_forward.go:960–965  ·  view source on GitHub ↗

LessOrEqualf asserts that the first element is less than or equal to the second a.LessOrEqualf(1, 2, "error message %s", "formatted") a.LessOrEqualf(2, 2, "error message %s", "formatted") a.LessOrEqualf("a", "b", "error message %s", "formatted") a.LessOrEqualf("b", "b", "error message %s", "for

(e1 interface{}, e2 interface{}, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

958// a.LessOrEqualf("a", "b", "error message %s", "formatted")
959// a.LessOrEqualf("b", "b", "error message %s", "formatted")
960func (a *Assertions) LessOrEqualf(e1 interface{}, e2 interface{}, msg string, args ...interface{}) bool {
961 if h, ok := a.t.(tHelper); ok {
962 h.Helper()
963 }
964 return LessOrEqualf(a.t, e1, e2, msg, args...)
965}
966
967// Lessf asserts that the first element is less than the second
968//

Callers

nothing calls this directly

Calls 2

LessOrEqualfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected