toPair

inline fun <K, V> Map.Entry<K, V>.toPair(): Pair<K, V>(source)

Converts this map entry to a Pair with its key being the first component and its value being the second.

Since Kotlin

1.0