toPair

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

Converts entry to Pair with key being first component and value being second.