remove from map(key a, name of map b)


Removes the key-value pair with key a from a Named Map b.

The return value of the function is the value of the removed key. If the map is an Inherited Value, only the visible value will be returned.

Note: 'Hidden' values can be removed as well. See the explanations for the Empty Flag.

Description of Parameters


Parameter

Description

a

Key of the key-value pair to be removed.

b

(optional) Name of the map. Default: default


Examples


Assume a map myMap with the elements {key1=val1, key2=val2, key3=val3}.


Parameter a

Parameter b

Result

Elements in map

myMap

key2

val2

{key1=val1, key3=val3}

myMap

key2


{key1=val1, key3=val3}

myMap

key1

val1

{key3=val3}