Join Slack
Powered by
cool thing about kotlin is that extension methods ...
# 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
Open in Slack
Previous
Next