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