deleteAll Method
Delete multiple keys from the map, raising onChanged only once after all keys are deleted. This is more efficient than calling delete in a loop when listeners need not be notified of each individual deletion.
deleteAll(keys: Iterable<K>): number
@returns The number of keys that were actually deleted (i.e., were present in the map).
| Parameter | Type | Description |
|---|---|---|
| keys | Iterable<K> | The keys to delete. |
Returns - number
The number of keys that were actually deleted (i.e., were present in the map).
Defined in
Last Updated: 24 September, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.