kotlin.collections.component2
component2
inline operator fun <K, V> Entry<K, V>.component2(): V
Returns the value component of the map entry. This method allows to use destructuring declarations when working with maps, for example:
for ((key, value) in map) { // do something with the key and the value }
inline operator fun <T> List<T>.component2(): T
inline operator fun <T> Array<out T>.component2(): T
inline operator fun ByteArray.component2()