Documentation ¶
Overview ¶
Package truthy implements helpers to test the truthy-ness of the values.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FalseOnError ¶
FalseOnError returns false if err is not nil, otherwise it returns res.
func Is ¶
Is returns `false` if the argument sounds like "false" (empty string, "0", "f", "false", and so on), and `true` otherwise.
func TrueOnError ¶
TrueOnError returns true if err is not nil, otherwise it returns res.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.