Kotlin Wrappers API Reference
Toggle table of contents
common
Platform filter
common
Switch theme
kotlin-js
/
js.collections
/
JsMap
/
Companion
Companion
object
Companion
(
source
)
Members
Functions
group
By
Link copied to clipboard
fun
<
T
:
JsAny
,
K
:
JsAny
?
>
groupBy
(
items
:
ReadonlyArray
<
T
>
,
keySelector
:
(
value
:
T
,
index
:
Int
)
->
K
)
:
JsMap
<
K
,
ReadonlyArray
<
T
>
>