Hash_Map module

get

procedure · 1 overloadsince 0.23.0Source

A copy of the key's value, or default if it is missing.

get :: (map: *Map, key: map.Key, default: map.Value = .{}) -> map.Value

A copy of the key's value, or default if it is missing.

Parameters

map: *Map
key: map.Key
default: map.Value

Returns

map.Value

See also