Cldr.Map.atomize_values
You're seeing just the function
atomize_values
, go back to Cldr.Map module for more information.
Transforms a map
's String.t
values to atom()
values.
Arguments
map
is anymap/0
options
is a keyword list of options passed todeep_map/3
. One additional option apples to this function directly::only_existing
which is set totrue
will only convert the binary value to an atom if the atom already exists. The default isfalse
.
Examples
iex> Cldr.Map.atomize_values %{"a" => %{"b" => %{1 => "c"}}}
%{"a" => %{"b" => %{1 => :c}}}