Skip to main content

Inverter

This node inverts a boolean value (NOT operation).

The Inverter node flips true to false and false to true.

The Inverter node performs a logical NOT operation. It takes a boolean input and outputs its opposite. It provides both a boolean data output and signal outputs for the inverted result.

Inputs​

General​

DataDescription
ValueThe boolean value to invert.

Control​

SignalDescription
DoTriggers the evaluation. The logic is executed only when this signal is received.

Outputs​

Data​

DataDescription
ResultThe inverted boolean value (!Value).

Signals​

SignalDescription
True ConditionTriggered if the inverted result is true (i.e., input was false).
False ConditionTriggered if the inverted result is false (i.e., input was true).

Usage​

Use this node to toggle logic or check for the absence of a condition.

Example Use Cases​

  1. Toggle State: If Is Visible is true, Inverter makes it false (Hide).
  2. Validation: Check if a field is not empty.
    • IsEmpty -> Inverter -> IsNotEmpty.
  3. Disable Button: Bind Is Loading to Inverter, then to Button Enabled. (If loading, enabled is false).

Detailed Behavior​

  1. Null Safety: If the input is undefined, the result is undefined.
  2. Signal Logic:
    • Input true -> Result false -> Fires False Condition.
    • Input false -> Result true -> Fires True Condition.

Troubleshooting​

  • Confusion: Remember the signals refer to the Result, not the Input. "True Condition" means "The result is true" (so the input was false).