W3cubDocs

/Kotlin

none

fun CharSequence.none(): Boolean

Returns true if the char sequence has no characters.

inline fun CharSequence.none(
    predicate: (Char) -> Boolean
): Boolean

Returns true if no characters match the given predicate.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/none.html