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

Function NotZerof

internal/testify/assert/assertion_format.go:684–689  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

682
683// NotZerof asserts that i is not the zero value for its type.
684func NotZerof(t TestingT, i interface{}, msg string, args ...interface{}) bool {
685 if h, ok := t.(tHelper); ok {
686 h.Helper()
687 }
688 return NotZero(t, i, append([]interface{}{msg}, args...)...)
689}
690
691// Panicsf asserts that the code inside the specified PanicTestFunc panics.
692//

Callers 2

NotZerofFunction · 0.92
NotZerofMethod · 0.70

Calls 2

NotZeroFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…