Preparing search index...
The search index is not available
@szilanor/stream
@szilanor/stream
groupByRecordAsync
Function groupByRecordAsync
group
By
Record
Async
<
T
,
TKey
>
(
keySelector
)
:
AsyncCollectorFunction
<
T
,
Record
<
TKey
,
T
[]
>
>
Creates a group of entries where the group key is calculated by the selector function.
Type Parameters
T
TKey
extends
string
|
number
|
symbol
Parameters
keySelector
:
(
(
entry
:
T
)
=>
TKey
)
(
entry
)
:
TKey
Parameters
entry
:
T
Returns
TKey
Returns
AsyncCollectorFunction
<
T
,
Record
<
TKey
,
T
[]
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@szilanor/stream
Loading...
Creates a group of entries where the group key is calculated by the selector function.