Template Function TRAP::Math::Any#

Function Documentation#

template<u32 L>
constexpr bool TRAP::Math::Any(const Vec<L, bool> &v) noexcept#

Check whether any element of a boolean vector is true.

Parameters:

v – Specifies the vector to be tested for truth.

Returns:

True if any component of v is true.