anyTrue property

bool get anyTrue

Whether any of the four lanes has a non-zero value.

Returns true if at least one of the x, y, z or w lanes has any bit set, and false only when all four lanes are zero.

Equivalent to flagX || flagY || flagZ || flagW.

Implementation

bool get anyTrue;