kotlin-stdlib / kotlin.collections / toPair toPair Common JVM JS Native 1.0 fun < K , V > Entry < K , V > . toPair ( ) : Pair < K , V > (source) Converts entry to Pair with key being first component and value being second.