not
constnot:DualFn<{(value):boolean; <T>(value):T; }>
Defined in: packages/typegpu/src/std/boolean.ts:225
Returns the logical negation of the given value.
For booleans returns !value.
For boolean vectors, returns component-wise !value.
Example
Section titled βExampleβnot(true) // returns falsenot(vec3b(true, true, false)) // returns vec3b(false, false, true)