keyOf

abstract fun keyOf(element: T): K(source)

Extracts the key of an element.

Since Kotlin

1.1