query

abstract fun query(key: Any?, index: Int): Slot?(source)

The slot for key, or for index when key is null, or null if there is none.