Croma.Integer
Module that represents the Elixir’s built-in integer type. Intended to be used with other parts of croma to express integer variables.
Summary↑
validate(value) | Simply checks the argument’s type using |
Types ↑
t :: :integer
Functions
Specs:
- validate(term) :: Croma.Result.t(t)
Simply checks the argument’s type using is_integer/1
and returns a Croma.Result
.