requireKey

inline fun <T : Any> Map<*, *>.requireKey(key: KProperty1<*, *>): T