croma v0.4.0 Croma.Boolean

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

Summary

Functions

Simply checks the argument’s type using is_boolean(var!(x)) and returns a Croma.Result

Types

t :: boolean

Functions

validate(value)

Specs

Simply checks the argument’s type using is_boolean(var!(x)) and returns a Croma.Result.