Hash_Map module

delete

procedure · 1 overloadsince 0.23.0Source

Removes the key. Returns its value (zero if it was missing) and whether it was there.

delete :: (map: *Map, key: map.Key) -> (value: map.Value, removed: bool)

Removes the key. Returns its value (zero if it was missing) and whether it was there.

Parameters

map: *Map
key: map.Key

Returns

value: map.Value
removed: bool

See also