map.put_all

Puts every key and value of id2 into id (existing keys get id2's value).

map.put_all(id: map<K, V>, id2: map<K, V>)

Parameters

Example

prices.put_all(prices.copy())