View Source Wrapped (ExUnion v0.1.2)
Link to this section Summary
Link to this section Types
@type t() :: union()
@type union() :: Wrapped.Keyword.t() | Wrapped.List.t() | Wrapped.Function.t() | Wrapped.Map.t() | Wrapped.Tuple.t()
@type union_function() :: Wrapped.Function.t()
@type union_keyword() :: Wrapped.Keyword.t()
@type union_list() :: Wrapped.List.t()
@type union_map() :: Wrapped.Map.t()
@type union_tuple() :: Wrapped.Tuple.t()
Link to this section Functions
@spec function(value :: (union_keyword() -> union_map())) :: Wrapped.Function.t()
@spec keyword(value :: [{atom(), union()}]) :: Wrapped.Keyword.t()
@spec list(value :: [union()]) :: Wrapped.List.t()
See Wrapped.List.new/1
.
@spec map(value :: %{required(any()) => union()}) :: Wrapped.Map.t()
See Wrapped.Map.new/1
.
@spec tuple(value :: {:ok, union()}) :: Wrapped.Tuple.t()
See Wrapped.Tuple.new/1
.