class Foo { lateinit var lateInitVar: String Fun checkInit () { IF ( the this :: lateInitVar.isInitialized) {// important, this :: prefix is necessary. // If already initialized, returns to true
} } }
class Foo { lateinit var lateInitVar: String Fun checkInit () { IF ( the this :: lateInitVar.isInitialized) {// important, this :: prefix is necessary. // If already initialized, returns to true
} } }