This functionality is only available for certain module packages.

You are here: Reference > Formula Language > Formulas > Map > Methods For Map > add(Object key, Object value)

add(Object key, Object value)

Adds a pair consisting of key (key) and value (value) to the map. An already existing pair with the same key is overwritten. This method is a simple form of add(Pair{key, value}).

add(Object key, Object value)
Arguments Object key Key for the pair to be added.
Object value Value for the pair to be added.
Return value Map