Hi quick question re write this codes without if s...
# getting-started
h
Hi quick question re write this codes without if statement
Copy code
val x: int? = null
val y: string? = if (x != null) x.toString() else null
c
put your mouse on the
if
then press ALT ENTER?
👌 1
This slack isn't an IDE, if you have a question make it explicit
😂 1
1
l
val y: String? = x?.toString()