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
Specs
validate([Ve.Types.message()], Ve.Types.data(), schema(), Ve.Types.message()) :: [Ve.Types.message()]