component1

inline operator fun <F, S> Pair<F, S>.component1(): F?

Returns the key component of the pair.

This method allows to use destructuring declarations when working with pairs (e.g.: val (first, second) = myPair).