what is more efficient way to check if property in...
# announcements
d
what is more efficient way to check if property instantiated?
::logger.isInitialized
or
logger==null
i mean should i avoid
isInitialized
lateinit feature due to reflection magic?
d
isInitialized
is a compiler intrinsic that simply compiles to a null check.
👍 1