View Source DataSpecs.Types (dataspecs v2.1.0)
Common types.
Summary
Types
@type cast_result(t) :: {:error, reason()} | {:ok, t}
@type custom_type_casts() :: %{required(mta()) => type_cast_fun()}
@type type_cast_fun() :: (value(), custom_type_casts(), [type_cast_fun()] -> value())
@type type_id() :: atom()
@type value() :: any()