kotlin.collections.any
any
fun <T> Iterable<T>.any(): Boolean
Returns true
if collection has at least one element.
inline fun <T> Iterable<T>.any( predicate: (T) -> Boolean ): Boolean
inline fun <T> Array<out T>.any( predicate: (T) -> Boolean ): Boolean
inline fun ByteArray.any( predicate: (Byte) -> Boolean ): Boolean
inline fun ShortArray.any( predicate: (Short) -> Boolean )