@univerjs/core v0.4.2 • Docs
Function: groupBy()
function groupBy<T>(arr, keyFn): Map<string, T[]>
Type Parameters
Type Parameter |
---|
T |
Parameters
Parameter | Type |
---|---|
arr | readonly T [] |
keyFn | (v ) => string |
Returns
Map
<string
, T
[]>
Defined in
submodules/univer/packages/core/src/common/array.ts:69 (opens in a new tab)