to
Creates a tuple of type Pair from this and that.
infix fun <A, B> A.to(that: B): Pair<A, B>(source)
val p = "Kotlin" to 1
println(p)
Creates a tuple of type Pair from this and that.
infix fun <A, B> A.to(that: B): Pair<A, B>(source)
val p = "Kotlin" to 1
println(p)