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

poohbar

04/20/2018, 12:34 PM
cool thing about kotlin is that extension methods can be defined on nullable types, so you can have this:
Copy code
val s: String? = "hello"
s.isNullOrEmpty()
this will never throw NPE