CharSequence?.orEmpty?

Hello!

Maybe it’s been asked around but couldn’t find it… I was just surprised to realize there is a String?.orEmpty extension but there isn’t a CharSequence?.orEmpty one. Is there any specific reason behind this?

Thanks a bunch beforehand! 🙂

submitted by /u/Archison
[link] [comments]