Platform and version requirements: JVM (1.0), JS (1.1), Native (1.3)
interface Entry<out K, out V>
Represents a key/value pair held by a Map.
Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
Returns the key component of the map entry.
operator fun <K, V> Entry<K, V>.component1(): K
Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
Returns the value component of the map entry.
operator fun <K, V> Entry<K, V>.component2(): V
Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
Converts entry to Pair with key being first component and value being second.
fun <K, V> Entry<K, V>.toPair(): Pair<K, V>