allan.conda
07/31/2020, 7:18 AM.not()
?Val Salamakha
07/31/2020, 10:39 AMallan.conda
07/31/2020, 10:50 AMrequireName()
can be any functionValentin Moscone
07/31/2020, 2:43 PMrequireName(name!!)
. Not the best...but it's going to work as you wanttseisel
07/31/2020, 5:29 PMisNullOrEmpty
uses Kotlin Contracts and should be able to smart cast to String
when returning false. This does not work when calling condition.not()
which is equivalent to !condition
.