Mark Heckler
02/05/2018, 1:43 PMpublic inline fun CharSequence?.isNullOrEmpty(): Boolean {
contract {
returns(false) implies (this@isNullOrEmpty != null)
}
return this == null || this.length == 0
}
So that was why it seemed it could/should be included in smart casts. simple smile