croma v0.4.6 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
Functions
Simply checks the argument’s type using is_integer(var!(x))
and returns a Croma.Result
Types
t :: integer
Functions
Specs
validate(term) :: Croma.Result.t(<a href="#t:t/0">t</a>)
Simply checks the argument’s type using is_integer(var!(x))
and returns a Croma.Result
.