<@U61EJ4P4J> Sure, those make sense...but here is ...
# announcements
m
@hho Sure, those make sense...but here is the implementation of isNullOrEmpty():
Copy code
public 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