Kotlin Wrappers API Reference
Toggle table of contents
common
Platform filter
common
Switch theme
kotlin-js
/
js.objects
/
Object
/
Companion
/
groupBy
group
By
fun
<
T
:
JsAny
,
K
:
PropertyKey
>
groupBy
(
items
:
ReadonlyArray
<
T
>
,
keySelector
:
(
value
:
T
,
index
:
Int
)
->
K
)
:
ReadonlyRecord
<
K
,
ReadonlyArray
<
T
>
>
(
source
)