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

Method IsZero

storage/null/bool.go:199–201  ·  view source on GitHub ↗

IsZero returns true for invalid Bools, for future omitempty support (Go 1.4?) A non-null Bool with a 0 value will not be considered zero.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

TestBoolIsZeroFunction · 0.95
TestNewDBManager_ManualFunction · 0.45
EscapeTimeMethod · 0.45
TestFloat64IsZeroFunction · 0.45
TestUint8IsZeroFunction · 0.45
TestStringIsZeroFunction · 0.45
TestUint64IsZeroFunction · 0.45
TestInt32IsZeroFunction · 0.45
TestUint16IsZeroFunction · 0.45
TestUint32IsZeroFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestBoolIsZeroFunction · 0.76
TestNewDBManager_ManualFunction · 0.36
TestFloat64IsZeroFunction · 0.36
TestUint8IsZeroFunction · 0.36
TestStringIsZeroFunction · 0.36
TestUint64IsZeroFunction · 0.36
TestInt32IsZeroFunction · 0.36
TestUint16IsZeroFunction · 0.36
TestUint32IsZeroFunction · 0.36
TestInt16IsZeroFunction · 0.36