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

Method NotZerof

internal/testify/assert/assertion_forward.go:1364–1369  ·  view source on GitHub ↗

NotZerof asserts that i is not the zero value for its type.

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

Source from the content-addressed store, hash-verified

1362
1363// NotZerof asserts that i is not the zero value for its type.
1364func (a *Assertions) NotZerof(i interface{}, msg string, args ...interface{}) bool {
1365 if h, ok := a.t.(tHelper); ok {
1366 h.Helper()
1367 }
1368 return NotZerof(a.t, i, msg, args...)
1369}
1370
1371// Panics asserts that the code inside the specified PanicTestFunc panics.
1372//

Callers

nothing calls this directly

Calls 2

NotZerofFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected