setField

context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun Double.Companion.setField()(source)

Registers the Field context for Double in the given registry.

Context Parameters

registry

The mutable owned provider registry to register the context into.


context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun Float.Companion.setField()(source)

Registers the Field context for Float in the given registry.

Context Parameters

registry

The mutable owned provider registry to register the context into.