to

infix fun <A, B, C> Pair<A, B>.to(third: C): Triple<A, B, C>

Extension function to create a Triple from a Pair and an additional value.

Return

a Triple containing the values from the Pair and the additional value

Parameters

third

the third value to be added to the Pair