xema v0.6.3 Xema.Behaviour behaviour View Source
A behaviour module for implementing a schema validator.
Link to this section Summary
Callbacks
This callback initialize the schema. The function gets the data given to
Xema.new/1
and returns a Xema.Schema
Link to this section Callbacks
Link to this callback
init(any)
View Source
init(any)
View Source
init(any()) :: Xema.Schema.t()
init(any()) :: Xema.Schema.t()
This callback initialize the schema. The function gets the data given to
Xema.new/1
and returns a Xema.Schema
.