allEq
constallEq:DualFn<<T>(lhs,rhs) =>boolean>
Defined in: packages/typegpu/src/std/boolean.ts:43
Checks whether lhs == rhs on all components.
Equivalent to all(eq(lhs, rhs)).
Example
Section titled βExampleβallEq(vec2f(0.0, 1.0), vec2f(0.0, 2.0)) // returns falseallEq(vec3u(0, 1, 2), vec3u(0, 1, 2)) // returns true