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

Method Greater

internal/testify/require/require_forward.go:480–485  ·  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

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

Callers

nothing calls this directly

Calls 2

GreaterFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected