want v1.1.1 Want.Type behaviour

Behaviour for type casting modules.

Link to this section Summary

Link to this section Callbacks

Link to this callback

cast(input, opts)

cast(input :: any(), opts :: Keyword.t()) ::
  {:ok, result :: any()} | {:error, reason :: any()}