Loading

->MAP

maps conversion

The ->MAP function creates a MAP from an even number N of elements on the stack. N is consumed off the top of the stack. For each pair, the deepest element is the key, the shallowest is the value.

->MAP is available since version 1.0.0.

See also

Signatures

Examples

'foo' 42 'bar' true 4 //N ->MAP // alternate syntax: { 'foo' 42 'bar' true }