toPair

fun <T1, T2> Tuple2<T1, T2>.toPair(): Pair<T1, T2>

Returns a new Pair based on the arguments in the current Tuple2.