Join Slack
Powered by
is it possible to use lateinit.isInitialized for c...
# getting-started
k
Konstantin Petrukhnov
05/28/2018, 2:56 PM
is it possible to use lateinit.isInitialized for companion field? E.g: companion object {lateinit var myX = X; fun doX{if(!::myX.isInitialized ) {//do something} } }
2
Views
Open in Slack
Previous
Next