© 2026 Hedgehog Software, LLC
groupBy
Map
Iterable.groupBy
Record
<A, K extends string | symbol>(self: Iterable<A>, f: (a: A) => K): Record<Record.ReadonlyRecord.NonLiteralKey<K>, NonEmptyArray<A>>
<A, K extends keyof any>(self: Iterable<A>, f: (a: A) => K): Partial<Record<K, NonEmptyArray<A>>>
K
string | number | symbol
Partial<Record<K, ...>>