https://kotlinlang.org logo
a

apatrida

03/02/2016, 10:15 PM
you can write an extension that does something more similar to else, I think that has been covered before, I remember discussions for
whenNotNull
and others here.