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

Function Nilf

internal/testify/assert/assertion_format.go:520–525  ·  view source on GitHub ↗

Nilf asserts that the specified object is nil. assert.Nilf(t, err, "error message %s", "formatted")

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

Source from the content-addressed store, hash-verified

518//
519// assert.Nilf(t, err, "error message %s", "formatted")
520func Nilf(t TestingT, object interface{}, msg string, args ...interface{}) bool {
521 if h, ok := t.(tHelper); ok {
522 h.Helper()
523 }
524 return Nil(t, object, append([]interface{}{msg}, args...)...)
525}
526
527// NoDirExistsf checks whether a directory does not exist in the given path.
528// It fails if the path points to an existing _directory_ only.

Callers 2

NilfFunction · 0.92
NilfMethod · 0.70

Calls 2

NilFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…