- Preparing search index...
- The search index is not available
atomic-fns
- groupByMap<V>(arr: Iterable<V>, fn: Iteratee<V, any, any>): Map<any, V[]>
-
Parameters
-
arr: Iterable<V>
-
fn: Iteratee<V, any, any>
Returns Map<any, V[]>
- groupByMap<V>(arr: Iterable<V>, fn: PropertyKey): Map<any, V[]>
-
Parameters
-
arr: Iterable<V>
-
fn: PropertyKey
Returns Map<any, V[]>
- groupByMap<V>(arr: Object, fn: Iteratee<V, any, any>): Map<any, V[]>
-
Parameters
-
arr: Object
-
fn: Iteratee<V, any, any>
Returns Map<any, V[]>
- groupByMap<V>(arr: Object, fn: PropertyKey): Map<any, V[]>
-
Parameters
-
arr: Object
-
fn: PropertyKey
Returns Map<any, V[]>
Similar to groupBy but it returns a Map object with the results.
Returns
Returns the aggregated map object.
Example