kvasir v0.0.4 Kvasir.Type.Boolean View Source

Link to this section Summary

Functions

Parse a Kvasir.Type.Boolean type value.

Link to this section Functions

Link to this function

parse!(value, opts \\ [])

View Source
parse!(value :: any(), opts :: Keyword.t()) :: term() | no_return()

Parse a Kvasir.Type.Boolean type value.

Examples

iex> Kvasir.Type.Boolean.parse!(pid())
** (Kvasir.InvalidType) Invalid Elixir.Kvasir.Type.Boolean type.