RehashingAA.remove

Removes a key from the aa associative array by merely invoking .remove.

struct RehashingAA(AA : V[K], V, K)
remove
(
K key
)

Parameters

key K

The key to remove.

Return Value

Type: auto

Whatever aa.remove(key) returns.

Examples

RehashingAA!(int[string]) aa;
aa["abc"] = 123;
assert("abc" in aa);

aa.remove("abc");
assert("abc" !in aa);