groupBy
groupBy<
A>(f): (data) =>Record<string,NonEmptyArr<A>>
Defined in: Data/Arr.ts:562
Groups elements by a key function.
Type Parameters
Section titled “Type Parameters”A
Parameters
Section titled “Parameters”(a) => string
Returns
Section titled “Returns”(data) => Record<string, NonEmptyArr<A>>