Ve.GenericConstraints (ve v0.2.0) View Source

Link to this section Summary

Link to this section Types

Specs

opt_fixed() :: {:value, any()}

Specs

opt_in() :: {:in, [any()]}

Specs

opt_nullable() :: {:nullable, boolean()}

Specs

opts() :: type() | opt_nullable() | opt_in() | opt_fixed()

Specs

schema() :: [opts()]

Specs

type() ::
  :any
  | :string
  | :integer
  | :atom
  | :map
  | :list
  | :tuple
  | :boolean
  | :function
  | :binary
  | :float
  | :pid
  | :port
  | :reference

Link to this section Functions

Link to this function

validate(messages, data, schema, error_message)

View Source

Specs