croma v0.6.1 Croma.Number

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

Summary

Functions

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

Types

t()
t() :: number

Functions

validate(value)

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