Jamie Balfour

Welcome to my personal website.

Find out more about me, my personal projects, reviews, courses and much more here.

Official ZPE/YASS documentationmap_flip

map_flip (map a) ⇒ map

Flips the map, a, turning keys into values and values into keys.

Alternative function names: associative_array_flip
First available: Version 1.3.7.20

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.

Comments

There are no comments on this page.

New comment

Comments are welcome and encouraged, including disagreement and critique. However, this is not a space for abuse. Disagreement is welcome; personal attacks, harassment, or hate will be removed instantly. This site reflects personal opinions, not universal truths. If you can’t distinguish between the two, this probably isn’t the place for you.

map_flip"/>

Comments powered by BalfComment

Feedback 👍
Comments are sent via email to me.