Join Slack
Powered by
No effective changes, but `fun Boolean?.boolean():...
# codingconventions
g
gabrielfv
09/29/2017, 8:21 PM
No effective changes, but
fun Boolean?.boolean(): Boolean = this ?: false
looks a little closer to what is expected, since it states "return the object in case its not null, otherwise, return false"
2
Views
Open in Slack
Previous
Next