``` val b : String? = "b" val a = if (b != null) {...
# announcements
r
Copy code
val b : String? = "b"
val a = if (b != null) { A(b) } else { null }
How to refactor this to be more Kotlin way? the if expression