toPair

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.0