harmony
05/21/2017, 7:24 PMval x = y
if (x != null) {}
okkero
05/21/2017, 9:01 PMy
directly? if (y != null) {}
gjesse
05/21/2017, 9:05 PMgjesse
05/21/2017, 9:05 PMy?.let{
// anything in here is null safe
// and will only be excuted if y != null
}
harmony
05/21/2017, 9:28 PMtrevjones
05/21/2017, 9:37 PMy()?.let { it.something() }