Euclid.Sugar.ok

You're seeing just the function ok, go back to Euclid.Sugar module for more information.

Specs

ok(term()) :: {:ok, term()}

Wraps a term in an :ok tuple

Examples

iex> %{} |> Map.put(:count, 10) |> Euclid.Sugar.ok()
{:ok, %{count: 10}}