HashMap.remove

Remove a entry from the map if it is set, given a key.

struct HashMap(K, V)
@nogc @safe pure nothrow
bool
remove
(
K key
)

Parameters

key K

The key in the map.

Return Value

Type: bool

true if a value was removed, otherwise false.

Meta