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

Method Greater

internal/testify/assert/assertion_forward.go:478–483  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

476// a.Greater(float64(2), float64(1))
477// a.Greater("b", "a")
478func (a *Assertions) Greater(e1 interface{}, e2 interface{}, msgAndArgs ...interface{}) bool {
479 if h, ok := a.t.(tHelper); ok {
480 h.Helper()
481 }
482 return Greater(a.t, e1, e2, msgAndArgs...)
483}
484
485// GreaterOrEqual asserts that the first element is greater than or equal to the second
486//

Callers

nothing calls this directly

Calls 2

GreaterFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected