Spaces:
Paused
Paused
Download node_modules/graphql/jsutils/groupBy.d.ts from sam522/GenAI_Course: direct link, hf CLI and curl.
- Browser
- Download file 203 Bytes
-
https://huggingface.co/spaces/sam522/GenAI_Course/resolve/bbf0eafbb40cb551e2f40f8ad8a90a585be08221/node_modules/graphql/jsutils/groupBy.d.ts
- Command line
-
hf download hf://spaces/sam522/GenAI_Course@bbf0eafbb40cb551e2f40f8ad8a90a585be08221/node_modules/graphql/jsutils/groupBy.d.ts
-
curl -L -o groupBy.d.ts https://huggingface.co/spaces/sam522/GenAI_Course/resolve/bbf0eafbb40cb551e2f40f8ad8a90a585be08221/node_modules/graphql/jsutils/groupBy.d.ts
203 Bytes
| /** | |
| * Groups array items into a Map, given a function to produce grouping key. | |
| */ | |
| export declare function groupBy<K, T>( | |
| list: ReadonlyArray<T>, | |
| keyFn: (item: T) => K, | |
| ): Map<K, ReadonlyArray<T>>; | |