inline fun <K, V> Map<out K, V>.all( predicate: (Entry<K, V>) -> Boolean ): Boolean
Returns true
if all entries match the given predicate.
inline fun <T> Array<out T>.all( predicate: (T) -> Boolean ): Boolean
inline fun ByteArray.all( predicate: (Byte) -> Boolean ): Boolean
inline fun ShortArray.all( predicate: (Short) -> Boolean ): Boolean
inline fun IntArray.all(predicate: (Int) -> Boolean): Boolean
inline fun LongArray.all( predicate: (Long) -> Boolean ): Boolean
inline fun FloatArray.all( predicate: (Float) -> Boolean ): Boolean
inline fun DoubleArray.all( predicate: (Double) -> Boolean ): Boolean
inline fun BooleanArray.all( predicate: (Boolean) -> Boolean ): Boolean
inline fun CharArray.all( predicate: (Char) -> Boolean ): Boolean
inline fun <T> Iterable<T>.all( predicate: (T) -> Boolean ): Boolean
Returns true
if all elements 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.collections/all.html