/** * Returns the value for the given [key] or throws an exception if there is no such key in the map. * * If the map was created by [withDefault], resorts to its `defaultValue` provider function * instead of throwing an exception. * * @throws NoSuchElementException when the map doesn't contain a value for the specified key and * no implicit default value was provided for that map. */ @SinceKotlin("1.1") public fun Map.getValue(key: K): V = getOrImplicitDefault(key)