curioustechizen
var thing: Thing? = null if(thing != null && anotherCondition) { thing!!.doSomething() }