MCPcopy
hub / github.com/palantir/plottable / forEach

Method forEach

src/utils/map.ts:69–79  ·  view source on GitHub ↗
(callbackFn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any)

Source from the content-addressed store, hash-verified

67 }
68
69 public forEach(callbackFn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any) {
70 if (this._es6Map != null) {
71 const callbackWrapper = (value: V, key: K) => callbackFn.call(thisArg, value, key, this);
72 this._es6Map.forEach(callbackWrapper, thisArg);
73 return;
74 }
75
76 this._keyValuePairs.forEach((keyValuePair) => {
77 callbackFn.call(thisArg, keyValuePair.value, keyValuePair.key, this);
78 });
79 }
80
81 public delete(key: K) {
82 if (this._es6Map != null) {

Callers 15

Gruntfile.jsFile · 0.45
index.tsFile · 0.45
assertEntitiesEqualFunction · 0.45
triggerFakeTouchEventFunction · 0.45
triggerFakeKeyboardEventFunction · 0.45
assertAreaPathCloseToFunction · 0.45
tokenizePathStringFunction · 0.45
forEachFunction · 0.45
blanket_mocha.jsFile · 0.45
copyFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected