Join Slack
Powered by
Like this? ``` val p = item.p if (p != null) { } e...
# announcements
m
mg6maciej
05/24/2017, 9:18 PM
Like this?
Copy code
val p = item.p if (p != null) { } else { executeSomething() }
j
juliocbcotta
05/24/2017, 9:19 PM
mg6maciej: yes… but without the if/else …
m
mg6maciej
05/24/2017, 9:19 PM
🙂
mg6maciej
05/24/2017, 9:20 PM
Why is `if`/`else` not good enough?
4
Views
Open in Slack
Previous
Next