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

Function Zerof

internal/testify/assert/assertion_format.go:802–807  ·  view source on GitHub ↗

Zerof asserts that i is the zero value for its type.

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

Source from the content-addressed store, hash-verified

800
801// Zerof asserts that i is the zero value for its type.
802func Zerof(t TestingT, i interface{}, msg string, args ...interface{}) bool {
803 if h, ok := t.(tHelper); ok {
804 h.Helper()
805 }
806 return Zero(t, i, append([]interface{}{msg}, args...)...)
807}

Callers 2

ZerofFunction · 0.92
ZerofMethod · 0.70

Calls 2

ZeroFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…