MCPcopy
hub / github.com/angular/angular / mergeStringMaps

Function mergeStringMaps

packages/benchpress/src/metric/multi_metric.ts:60–68  ·  view source on GitHub ↗
(maps: {[key: string]: string}[])

Source from the content-addressed store, hash-verified

58}
59
60function mergeStringMaps(maps: {[key: string]: string}[]): {[key: string]: string} {
61 const result: {[key: string]: string} = {};
62 maps.forEach((map) => {
63 Object.keys(map).forEach((prop) => {
64 result[prop] = map[prop];
65 });
66 });
67 return result;
68}
69
70const _CHILDREN = new InjectionToken('MultiMetric.children');

Callers 2

endMeasureMethod · 0.85
describeMethod · 0.85

Calls 2

keysMethod · 0.65
forEachMethod · 0.45

Tested by 1

describeMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…