valueOrNull

fun valueOrNull(): T?

Returns the initialized value, or null when no value exists yet, without initializing.

For a nullable T, a stored null is indistinguishable from an uninitialized state; use isInitialized to tell them apart.

Cancellation: this function does not suspend and performs no cancellation checks.