any

fun ComplexFloatArray.any(): Boolean
fun ComplexDoubleArray.any(): Boolean

Returns true if array has at least one element.


inline fun ComplexFloatArray.any(predicate: (ComplexFloat) -> Boolean): Boolean
inline fun ComplexDoubleArray.any(predicate: (ComplexDouble) -> Boolean): Boolean

Returns true if at least one element matches the given predicate.