Data / Map data/map_set

Map Set

Inserts or updates a key-value pair in a Map.

Note: If the key already exists its value is overwritten. The map output is the same object mutated in place.

Inputs

NameTypeOptionalDescription
map any The Map to modify.
key string The key to set.
value any The value to store.

Outputs

NameTypeDescription
map any The Map after insertion (same reference).

Properties

KeyTypeDefaultDescription
key string "" Key (fallback)