ge
constge:DualFn<<T>(lhs,rhs) =>TextendsAnyVec2Instance?v2b:TextendsAnyVec3Instance?v3b:v4b>
Defined in: packages/typegpu/src/std/boolean.ts:155
Checks component-wise whether lhs >= rhs.
This function does not return bool, for that use-case, wrap the result in all.
Example
Section titled βExampleβge(vec2f(0.0, 0.0), vec2f(0.0, 1.0)) // returns vec2b(true, false)ge(vec3u(0, 1, 2), vec3u(2, 1, 0)) // returns vec3b(false, true, true)all(ge(vec4i(2, 2, 4, 5), vec4i(1, 2, 3, 4))) // returns true