use "destructuring declarations" term instead of "multi-declarations"
This commit is contained in:
@@ -130,7 +130,7 @@ public inline fun <K> Map<K, *>.containsValueRaw(value: Any?): Boolean = (this a
|
||||
/**
|
||||
* Returns the key component of the map entry.
|
||||
*
|
||||
* This method allows to use multi-declarations when working with maps, for example:
|
||||
* 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
|
||||
@@ -142,7 +142,7 @@ public inline operator fun <K, V> Map.Entry<K, V>.component1(): K = key
|
||||
|
||||
/**
|
||||
* Returns the value component of the map entry.
|
||||
* This method allows to use multi-declarations when working with maps, for example:
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user