add to map(key a, value b, name of map c, [skip empty d])


Adds value b with key a into the Named Map named c. If the map does not exist, it is created.

The return value of the function is always b.

Description of Parameters


Parameter

Description

a

Key value.

b

Value to be added.

c

Name of the map. Default: default

d

(optional) true, if values with set Empty Flag should not be added to map. Default: false.

Example


Parameter a

Parameter b

Parameter c

Parameter d

Result

Value Added to Map

MyKey

Hallo (Empty Flag: false)

MyMap


Hallo

Yes.

MyKey

Hello (Empty Flag: true)

MyMap

false

Hello

Yes.

MyKey

Hällo (Empty Flag: true)

MyMap

true

Hällo

No.