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

Method IsDecreasingf

internal/testify/assert/assertion_forward.go:792–797  ·  view source on GitHub ↗

IsDecreasingf asserts that the collection is decreasing a.IsDecreasingf([]int{2, 1, 0}, "error message %s", "formatted") a.IsDecreasingf([]float{2, 1}, "error message %s", "formatted") a.IsDecreasingf([]string{"b", "a"}, "error message %s", "formatted")

(object interface{}, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

790// a.IsDecreasingf([]float{2, 1}, "error message %s", "formatted")
791// a.IsDecreasingf([]string{"b", "a"}, "error message %s", "formatted")
792func (a *Assertions) IsDecreasingf(object interface{}, msg string, args ...interface{}) bool {
793 if h, ok := a.t.(tHelper); ok {
794 h.Helper()
795 }
796 return IsDecreasingf(a.t, object, msg, args...)
797}
798
799// IsIncreasing asserts that the collection is increasing
800//

Callers

nothing calls this directly

Calls 2

IsDecreasingfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected