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