UNPKG

@segment/analytics-next

Version:

Analytics Next (aka Analytics 2.0) is the latest version of Segment’s JavaScript SDK - enabling you to send your data to any tool without having to learn, test, or use a new API every time.

4 lines 201 B
type Grouper<T> = (obj: T) => string | number; export declare function groupBy<T>(collection: T[], grouper: keyof T | Grouper<T>): Record<string, T[]>; export {}; //# sourceMappingURL=group-by.d.ts.map