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

Method IsNonIncreasing

internal/testify/assert/assertion_forward.go:852–857  ·  view source on GitHub ↗

IsNonIncreasing asserts that the collection is not increasing a.IsNonIncreasing([]int{2, 1, 1}) a.IsNonIncreasing([]float{2, 1}) a.IsNonIncreasing([]string{"b", "a"})

(object interface{}, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

850// a.IsNonIncreasing([]float{2, 1})
851// a.IsNonIncreasing([]string{"b", "a"})
852func (a *Assertions) IsNonIncreasing(object interface{}, msgAndArgs ...interface{}) bool {
853 if h, ok := a.t.(tHelper); ok {
854 h.Helper()
855 }
856 return IsNonIncreasing(a.t, object, msgAndArgs...)
857}
858
859// IsNonIncreasingf asserts that the collection is not increasing
860//

Callers

nothing calls this directly

Calls 2

IsNonIncreasingFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected