and
constand:DualFn<<T>(lhs,rhs) =>T>
Defined in: packages/typegpu/src/std/boolean.ts:206
Returns component-wise logical and result.
Example
Section titled βExampleβand(vec2b(false, true), vec2b(true, true)) // returns vec2b(false, true)and(vec3b(true, true, false), vec3b(false, true, false)) // returns vec3b(false, true, false)