Documentation ¶
Overview ¶
Package empty provides functions for checking empty/nil variables.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsEmpty ¶
IsEmpty checks whether given `value` empty. It returns true if `value` is in: 0, nil, false, "", len(slice/map/chan) == 0, or else it returns false.
func IsEmptyOrZero ¶ added in v0.0.7
IsEmptyOrZero checks whether given `value` is empty or zero.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.