implies

infix fun <T> RegistryKey<in T>.implies(value: (I) -> T)(source)

Adds an implied key with a custom mapping function.

Receiver

The RegistryKey to register as an implied key.

Parameters

value

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

Type Parameters

T

The type of the value that the implied key will produce.