Home > @rushstack/node-core-library > ProtectableMap > forEach
ProtectableMap.forEach() method
Performs an operation for each (key, value) entries in the map.
Signature:
forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void;
Parameters
Parameter | Type | Description |
---|---|---|
callbackfn | (value: V, key: K, map: Map<K, V>) => void | |
thisArg | any | (Optional) |
Returns:
void