https://kotlinlang.org logo
#announcements
Title
# announcements
v

vaskir

06/07/2017, 6:58 PM
🙂
r

redrield

06/08/2017, 1:18 AM
vaskir: This code would work better
Copy code
func()?.let { 
    // stuff
}
let block would only run if the result isn't null
v

vaskir

06/08/2017, 7:49 AM
Yeah. Thanks 🙂