api / koma.extensions / any
any
@JvmName("anyDouble") inline funMatrix<Double>.any(f: (Double) ->Boolean):Boolean
@JvmName("anyFloat") inline funMatrix<Float>.any(f: (Float) ->Boolean):Boolean
@JvmName("anyGeneric") fun <T>Matrix<T>.any(f: (T) ->Boolean):Boolean
@JvmName("anyInt") inline funMatrix<Int>.any(f: (Int) ->Boolean):Boolean
Checks to see if any element in the matrix causes f to return true.
Parameters
f - A function which takes in an element from the matrix and returns a Boolean.
Return Whether or not any element, when passed into f, causes f to return true.