Skip to content

all

all(value): boolean

Defined in: packages/typegpu/src/std/boolean.ts:229

Returns true if each component of value is true.

AnyBooleanVecInstance

boolean

all(vec2b(false, true)) // returns false
all(vec3b(true, true, true)) // returns true