MCPcopy Create free account
hub / github.com/corestoreio/pkg / Empty

Function Empty

util/assert/assertions.go:597–608  ·  view source on GitHub ↗

Empty asserts that the specified object is empty. I.e. nil, "", false, 0 or either a slice or a channel with len == 0. assert.Empty(t, obj)

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

isEmptyFunction · 0.85
FailFunction · 0.85
HelperMethod · 0.80

Tested by

no test coverage detected