Not
Last updated
Last updated
Inverts a boolean value, turning true into false and false into true. This is useful for creating opposite conditions or toggling states in your design logic.
value
The boolean value to negate
Any
Yes
value
The opposite of the input value
Yes/No
Drag the Logical Not node into your graph.
Connect a boolean value (true/false) to the "value" input.
Run the graph—if you input true, you'll get false; if you input false, you'll get true.
Non-boolean values are converted to boolean before negation (e.g., 0 becomes false, then true).
In JavaScript, values like 0, empty strings, null, and undefined are "falsy" and will be converted to true by the Not node.
Use Not to create inverse conditions rather than duplicating logic with opposite rules.
Logical AND: For checking if multiple conditions are all true.
Logical OR: For checking if at least one condition is true.
Toggle States: Invert a boolean state to toggle between two modes (e.g., light/dark theme).
Exclusion Rules: Create rules for when something should not apply (e.g., "not mobile" for desktop-only features).
Alternate Paths: Set up different design logic paths based on the negation of a condition.