A pointer to the key's value, adding a zero-initialized one if the key is missing. added
says whether it was added.
entry :: (map: *Map, key: map.Key) -> (value: *map.Value, added: bool)
A pointer to the key's value, adding a zero-initialized one if the key is missing. added
says whether it was added.
Parameters
- map: *Map
- key: map.Key
Returns
- value: *map.Value
- added: bool