View Source Xod.Map (Xod v0.1.0)
Link to this section Summary
Link to this section Types
@type foreign_keys() :: :strip | :strict | :passthrough | Xod.Schema.t()
@type t() :: %Xod.Map{ coerce: boolean(), foreign_keys: foreign_keys(), key_coerce: boolean(), keyval: %{optional(term()) => Xod.Schema.t()}, struct: module() | struct() }
Link to this section Functions
@spec check_all(t(), Xod.Schema.t()) :: t()
@spec shape(t()) :: %{optional(term()) => Xod.Schema.t()}