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

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
@spec parse!(value :: any(), opts :: Keyword.t()) :: term() | no_return()

Parse a Kvasir.Type.List type value.

examples

Examples

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