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

Method Positive

internal/testify/assert/assertion_forward.go:1441–1446  ·  view source on GitHub ↗

Positive asserts that the specified element is positive a.Positive(1) a.Positive(1.23)

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

Source from the content-addressed store, hash-verified

1439// a.Positive(1)
1440// a.Positive(1.23)
1441func (a *Assertions) Positive(e interface{}, msgAndArgs ...interface{}) bool {
1442 if h, ok := a.t.(tHelper); ok {
1443 h.Helper()
1444 }
1445 return Positive(a.t, e, msgAndArgs...)
1446}
1447
1448// Positivef asserts that the specified element is positive
1449//

Callers

nothing calls this directly

Calls 2

PositiveFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected