View Source Croma.Boolean (croma v0.11.3)

Module that represents the Elixir's built-in boolean type. Intended to be used with other parts of croma to express boolean variables.

Link to this section Summary

Functions

Simply checks the argument's type using is_boolean(var!(x)).

Link to this section Types

Link to this section Functions

@spec valid?(term()) :: boolean()

Simply checks the argument's type using is_boolean(var!(x)).