component1

operator fun <T> Product1<T>.component1(): T

This file provides the operator functions to destructuring for Scala classes implementing ProductX, like Tuples.

This means you can type val (a, b, c, d) = yourTuple to unpack its values, similar to how Pair, Triple and other data classes work in Kotlin.


operator fun <T> Product2<T, *>.component1(): T
operator fun <T> Product3<T, *, *>.component1(): T
operator fun <T> Product4<T, *, *, *>.component1(): T
operator fun <T> Product5<T, *, *, *, *>.component1(): T
operator fun <T> Product6<T, *, *, *, *, *>.component1(): T
operator fun <T> Product7<T, *, *, *, *, *, *>.component1(): T
operator fun <T> Product8<T, *, *, *, *, *, *, *>.component1(): T
operator fun <T> Product9<T, *, *, *, *, *, *, *, *>.component1(): T
operator fun <T> Product10<T, *, *, *, *, *, *, *, *, *>.component1(): T
operator fun <T> Product11<T, *, *, *, *, *, *, *, *, *, *>.component1(): T
operator fun <T> Product12<T, *, *, *, *, *, *, *, *, *, *, *>.component1(): T
operator fun <T> Product13<T, *, *, *, *, *, *, *, *, *, *, *, *>.component1(): T
operator fun <T> Product14<T, *, *, *, *, *, *, *, *, *, *, *, *, *>.component1(): T
operator fun <T> Product15<T, *, *, *, *, *, *, *, *, *, *, *, *, *, *>.component1(): T
operator fun <T> Product16<T, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *>.component1(): T
operator fun <T> Product17<T, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *>.component1(): T
operator fun <T> Product18<T, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *>.component1(): T
operator fun <T> Product19<T, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *>.component1(): T
operator fun <T> Product20<T, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *>.component1(): T
operator fun <T> Product21<T, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *>.component1(): T
operator fun <T> Product22<T, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *>.component1(): T