Lazy
interface Lazy<out T>
Properties
value
Gets the lazily initialized value of the current Lazy instance. Once the value was initialized it must not change during the rest of lifetime of this Lazy instance.
abstract val value: T
Functions
isInitialized
Returns true
if a value for this Lazy instance has been already initialized, and false
otherwise.
Once this function has returned true
it stays true
for the rest of lifetime of this Lazy instance.
abstract fun isInitialized(): Boolean