std.collections.Map.Update - nitrologic/monkey2 GitHub Wiki

std::.std.collections.Map.Update

Method Update:[monkey:monkey.types.Bool|Bool]

Updates the value associated with a key in the map.

If the map does not contain `key', nothing happens and false is returned.

If the map already contains key, its associated value is updated and true is returned.

Parameters
key key The key.
value value The value.
⚠️ **GitHub.com Fallback** ⚠️