another question: 1. I have a `var map: Map<K,...
# stdlib
d
another question: 1. I have a
var map: Map<K,V>? = null
class property 2. I do not (or can not) use delegates.lazy for whatever reason Is there some idiomatic way to say:
Copy code
if(map == null) { map = mutableMapOf() }
map.doSomething()
or is this the same as with java? I know I could use apply/let stuff here, but dunno if this is the way