isNotEmpty
Returns true if this char sequence is not empty.
inline fun CharSequence.isNotEmpty(): Boolean(source)
fun main() {
val nonEmpty = "Kotlin"
val empty = ""
println(nonEmpty.isNotEmpty()) // true
println(empty.isNotEmpty()) // false
}