interface Lazy<out T>
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
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
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-lazy/index.html