A.OrdMap.to_list
You're seeing just the function
to_list
, go back to A.OrdMap module for more information.
Specs
Returns all key-values pairs from ord_map
as a list.
Examples
iex> ord_map = A.OrdMap.new(b: "Bat", c: "Cat", a: "Ant")
iex> A.OrdMap.to_list(ord_map)
[b: "Bat", c: "Cat", a: "Ant"]