TwoClocks
if( thing != null && thing.value > 10)
thing?.value
Damien
val myThing = thing if (myThing != null && myThing.value > 10) foo()
Stephan Schroeder
let
thing?.let{ myThing-> if(myThing>10) foo() }
it
A modern programming language that makes developers happier.