https://kotlinlang.org logo
#announcements
Title
# announcements
r

rrader

05/02/2018, 8:21 AM
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