MCPcopy Create free account
hub / github.com/blacksmithgu/datacore / groupIn

Method groupIn

src/api/data-array.ts:88–88  ·  view source on GitHub ↗

* If the array is not grouped, groups it as `groupBy` does; otherwise, groups the elements inside each current * group. This allows for top-down recursive grouping which may be easier than bottom-up grouping.

(key: ArrayFunc<LowestKey<T>, U>, comparator?: ArrayComparator<U>)

Source from the content-addressed store, hash-verified

86 * group. This allows for top-down recursive grouping which may be easier than bottom-up grouping.
87 */
88 groupIn<U>(key: ArrayFunc<LowestKey<T>, U>, comparator?: ArrayComparator<U>): DataArray<Ingrouped<U, T>>;
89
90 /**
91 * Return distinct entries. If a key is provided, then rows with distinct keys are returned.

Callers 1

groupInMethod · 0.65

Implementers 1

DataArrayImplsrc/api/data-array.ts

Calls

no outgoing calls

Tested by

no test coverage detected