setSafeField

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

Registers the safe Field context for Double (with NaN/Infinity validation) in the given registry.

Context Parameters

registry

The mutable owned provider registry to register the context into.