Cldr.Map.integerize_values
You're seeing just the function
integerize_values
, go back to Cldr.Map module for more information.
Transforms a map
's String.t
values to Integer.t
values.
Arguments
map
is anymap/0
options
is a keyword list of options passed todeep_map/3
The map value is converted to an integer
from
either an atom
or String.t
only when the
value is comprised of integer
digits.
Keys which cannot be converted to an integer are returned unchanged.
Example
iex> Cldr.Map.integerize_values %{a: %{b: "1"}}
%{a: %{b: 1}}