MCPcopy Index your code
hub / github.com/nodejs/node / group

Function group

test/fixtures/snapshot/typescript.js:1588–1591  ·  view source on GitHub ↗
(values, getGroupId, resultSelector)

Source from the content-addressed store, hash-verified

1586 }
1587 ts.arrayToMultiMap = arrayToMultiMap;
1588 function group(values, getGroupId, resultSelector) {
1589 if (resultSelector === void 0) { resultSelector = identity; }
1590 return arrayFrom(arrayToMultiMap(values, getGroupId).values(), resultSelector);
1591 }
1592 ts.group = group;
1593 function clone(object) {
1594 var result = {};

Callers

nothing calls this directly

Calls 3

arrayFromFunction · 0.85
arrayToMultiMapFunction · 0.85
valuesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…