array_group_by
array_group_by(array, grouping_key_producer, keyHashFunction) ⇒ Map.<K, Array.<T>>
Kind: global function
Param | Type | Description |
---|---|---|
array | Array.<T> | |
grouping_key_producer | function | given an element from input array, returns a grouping key. Can be an object, if it implements .equals method keys can be compared that way as well |
keyHashFunction |