Documentation
¶
Index ¶
- func AllNull(anyItems ...interface{}) bool
- func Defined(item interface{}) bool
- func DefinedAllOf(anyItems ...interface{}) bool
- func DefinedAnyOf(anyItems ...interface{}) bool
- func DefinedBoth(leftAnyItem, rightAnyItem interface{}) (isBothDefined bool)
- func DefinedLeftRight(leftAnyItem, rightAnyItem interface{}) (isLeftDefined, isRightDefined bool)
- func NotNull(item interface{}) bool
- func Null(item interface{}) bool
- func NullBoth(leftAnyItem, rightAnyItem interface{}) (isBothNull bool)
- func NullLeftRight(leftAnyItem, rightAnyItem interface{}) (isLeftNull, isRightNull bool)
- func ReflectNotNull(item interface{}) bool
- func ReflectNull(item interface{}) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Defined ¶
func Defined(item interface{}) bool
Defined
Returns true for not nil ¶
Reference : https://stackoverflow.com/a/43896204
func DefinedAllOf ¶
func DefinedAllOf(anyItems ...interface{}) bool
func DefinedAnyOf ¶
func DefinedAnyOf(anyItems ...interface{}) bool
func DefinedBoth ¶ added in v0.9.7
func DefinedBoth(leftAnyItem, rightAnyItem interface{}) (isBothDefined bool)
func DefinedLeftRight ¶ added in v0.9.7
func DefinedLeftRight(leftAnyItem, rightAnyItem interface{}) (isLeftDefined, isRightDefined bool)
func NotNull ¶
func NotNull(item interface{}) bool
NotNull
Returns true for not nil ¶
Reference : https://stackoverflow.com/a/43896204
func Null ¶
func Null(item interface{}) bool
Null
Returns true for any nil given ¶
Reference : https://stackoverflow.com/a/43896204
func NullBoth ¶ added in v0.9.7
func NullBoth(leftAnyItem, rightAnyItem interface{}) (isBothNull bool)
func NullLeftRight ¶ added in v0.9.7
func NullLeftRight(leftAnyItem, rightAnyItem interface{}) (isLeftNull, isRightNull bool)
func ReflectNotNull ¶
func ReflectNotNull(item interface{}) bool
ReflectNotNull
Returns true for not nil.
Reference : https://stackoverflow.com/a/43896204
func ReflectNull ¶
func ReflectNull(item interface{}) bool
ReflectNull
Returns true for any nil given ¶
Reference : https://stackoverflow.com/a/43896204
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.