removeMapItems()function
removeMapItems(map: MutableMap<K, T>, ...keys: K[]): void
| Param | Type | |
|---|---|---|
map | MutableMap<K, T> | The mutable map to remove the items from. required |
keys | K[] | The keys to delete. required |
| Return | |
|---|---|
void | Nothing; mutates map in place. |
Remove multiple items from a map (by reference).
Examples
removeMapItems(map, "a", "b");