Map

to_list/1

to_list(map)

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.