Defines a matcher that matches boolean values
Describes the arguments that can be passed to this matcher
Describes an instance of this matcher
Matches against boolean values
@type opts() :: []
@opaque t()
@spec boolean(opts()) :: t()
Takes no arguments
Examples:
iex> assert true ~> boolean() true iex> assert true ~> boolean() true iex> refute 1 ~> boolean() false iex> refute nil ~> boolean() false