Skip to content

any

any(value): boolean

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

Returns true if any component of value is true.

AnyBooleanVecInstance

boolean

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