set %map:MAP% at key %key:EXPR% to %val:EXPR% — Statements

set %map:MAP% at key %key:EXPR% to %val:EXPR%
Map1.0.0

Description

Sets a key-value pair in a map. If the key already exists, its value is replaced.

Examples

set myMap at key "name" to "Steve"

All Possible Usages (1)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

set <map> at key <key> to <val>

Related (Map)