Predefined function reference
map_flip
A reference entry for map_flip
map_flip (map a) ⇒ map
Flips the map, a, turning keys into values and values into keys.
Alternative function names: associative_array_flip
Notes
Version 1.4.2 dropped the alternative name assoc_flip and added the map_flip alternative name.
As of version 1.8.13, this is a reference function and will change the associative array directly.
Version 1.9.9 switched from associative_array_flip to map_flip.