get

open operator override fun <T> get(registryKey: RegistryKey<out T>): (I) -> T(source)

Gets the mapping function for the specified key.

Return

A function that computes the value for the implied key from the source value of type I.

Parameters

registryKey

The RegistryKey to get the mapping function for.

Throws

if the registryKey is not present in this registry.