Map.to_list/1
defmodule Map do
def to_list(map)
end
Converts map
to a list.
Each key-value pair in the map
is converted to a two-element tuple {key, value}
in the resulting list.
defmodule Map do
def to_list(map)
end
Converts map
to a list.
Each key-value pair in the map
is converted to a two-element tuple {key, value}
in the resulting list.