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
| Name | Type | Optional | Description |
|---|---|---|---|
map |
any | The Map to modify. | |
key |
string | ✓ | The key to set. |
value |
any | ✓ | The value to store. |
Outputs
| Name | Type | Description |
|---|---|---|
map |
any | The Map after insertion (same reference). |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
key |
string | "" |
Key (fallback) |