Hash_Map module

entry

procedure · 1 overloadsince 0.23.0Source

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

See also