all

inline fun <T, D : Dimension> MultiArray<T, D>.all(predicate: (T) -> Boolean): Boolean

Returns true if all elements match the given predicate. If an ndarray is empty, then always returns true.