map.put

Sets the value for a key (a new key is added last). Returns the previous value, or na for a new key.

map.put(id: map<K, V>, key: key type, value: value type) -> value type

Parameters

Example

prices.put("ES", close)