isInitialized

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
abstract fun isInitialized(): Boolean

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.

© 2010–2021 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/is-initialized.html