toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.objects
/
Object
/
Companion
/
groupBy
group
By
fun
<
T
:
Any
,
K
:
PropertyKey
>
groupBy
(
items
:
ReadonlyArray
<
T
>
,
keySelector
:
(
value
:
T
,
index
:
Int
)
->
K
)
:
ReadonlyRecord
<
K
,
ReadonlyArray
<
T
>
>
(
source
)