groupBy
groupBy<
A>(f): (data) =>Record<string,NonEmptyList<A>>
Defined in: Data/Arr.ts:285
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, NonEmptyList<A>>