- Preparing search index...
- The search index is not available
some-charts
Methods
Static
groupByMap
- groupByMap<ElementType, KeyType>(collection: readonly ElementType[], iteratee: ((_: ElementType) => KeyType)): Map<KeyType, ElementType[]>
-
Parameters
-
collection: readonly ElementType[]
-
iteratee: ((_: ElementType) => KeyType)
-
- (_: ElementType): KeyType
-
Returns KeyType
Returns Map<KeyType, ElementType[]>