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

Method IsNonIncreasing

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

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

Callers

nothing calls this directly

Calls 2

IsNonIncreasingFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected