Kvasir.Type.List (kvasir v0.0.15) View Source

A list (or array) of elements.

Each element in the array is type checked.

Link to this section Summary

Functions

Parse a Kvasir.Type.List type value.

Link to this section Functions

Link to this function

parse!(value, opts \\ [])

View Source

Specs

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

Parse a Kvasir.Type.List type value.

Examples

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