Skip to content

function any(const mask<T, N> &) logical

template <typename T, size_t N>
KFR_INTRINSIC bool any(const mask<T, N>& x)

Returns true if any element is true.

Equivalent to x[0] || x[1] || ... || x[N-1].

Defined at simd/logical.hpp:53