stdlib
1.8
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
Common
stdlib
/
kotlin.collections
/
toPair
to
Pair
inline
fun
<
K
,
V
>
Map.Entry
<
K
,
V
>
.
toPair
(
)
:
Pair
<
K
,
V
>
(
source
)
Converts entry to
Pair
with key being first component and value being second.
Since Kotlin
1.2