indexForKey
Source set: Common
public fun SemanticsPropertyReceiver.indexForKey(mapping: (Any) -> Int): Unit
The index of an item identified by a given key. The key is usually defined during the creation of the container. If the key did not match any of the items' keys, the mapping must return -1.