is there a shorter version of the snippet below ``...
# getting-started
m
is there a shorter version of the snippet below
Copy code
val myField : MyObject? = null
...
if (myField == null) { myField = MyObject() }
return myField