Search
@type key_tuple() :: {valid_key(), valid_key()}
@type valid_key() :: String.t() | atom()
@spec translate( final :: map() | {:ok, map()} | {:error, term()}, from :: map() | [map()], [key_tuple()] ) :: {:ok, map()} | {:error, :invalid_args} | {:error, {:missing_key, atom()}}
@spec translate( final :: map() | {:ok, map()} | {:error, term()}, from :: map(), [key_tuple()], Keyword.t() ) :: {:ok, map()} | {:error, :invalid_args} | {:error, {:missing_key, atom()}}