Hi quick question re write this codes without if statement ```val x: int? = null val y: string? = i...
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()