Zodish.Type.Numeric (zodish v0.2.4)

View Source

This module describes a Zodish numeric type (string).

Summary

Types

t()

@type t() :: %Zodish.Type.Numeric{
  length: Zodish.Option.t(non_neg_integer()) | nil,
  max: Zodish.Option.t(non_neg_integer()) | nil,
  min: Zodish.Option.t(non_neg_integer()) | nil
}

Functions

length(type, value, opts \\ [])

max(type, value, opts \\ [])

min(type, value, opts \\ [])

new(opts \\ [])

Creates a new Numeric type.