Join Slack
Powered by
is it ok to do `if ( (x != null) && (x.isE...
# announcements
d
Dalinar
01/03/2017, 5:25 PM
is it ok to do
if ( (x != null) && (x.isEmpty()) )...
? I ask because i have this statement broken onto 2 lines and the
KotlinNullPointerException
in the
Stack Trace
is from the 2nd line (
i.e. the line with
x.isEmpty()
4
Views
Open in Slack
Previous
Next