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

Method Nil

internal/testify/assert/assertion_forward.go:1026–1031  ·  view source on GitHub ↗

Nil asserts that the specified object is nil. a.Nil(err)

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

Source from the content-addressed store, hash-verified

1024//
1025// a.Nil(err)
1026func (a *Assertions) Nil(object interface{}, msgAndArgs ...interface{}) bool {
1027 if h, ok := a.t.(tHelper); ok {
1028 h.Helper()
1029 }
1030 return Nil(a.t, object, msgAndArgs...)
1031}
1032
1033// Nilf asserts that the specified object is nil.
1034//

Callers 1

TestNilWrapperFunction · 0.45

Calls 2

NilFunction · 0.70
HelperMethod · 0.45

Tested by 1

TestNilWrapperFunction · 0.36