dict_append
dict_append(map, entries)
Add or update keys in a dictionary
Syntaxe
var pt = {x:10, y:20};
pt = dict_append(pt, {z:5});
pt = dict_append(pt, {x:15, w:30});
Arguments
| Name | Required | Default | Description |
|---|---|---|---|
map | yes | - | The original map or first key-value pair |
entries | yes | - | The map entries to add/update |