toTriple

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

Returns a Triple of this pair's components followed by third.

val located = (x to y).toTriple(z)

Parameters

third

the value appended as the third component.