https://kotlinlang.org logo
#announcements
Title
# 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
🙂
Why is `if`/`else` not good enough?
4 Views