keyOf

abstract fun keyOf(element: T): K

Extracts the key of an element.