Appearance
NAND
Overview
The NAND node (negated AND) is a logical gate that returns true if at least one of its inputs is false. It is used to detect situations where a condition is not universally met.
Use NAND when:
- Triggering an action when any of several prerequisites is missing.
- Implementing logic where the signal is active only if not all inputs are high.
💡 Tip
This node performs the same operation as an AND node followed by a NOT node. Using a single NAND node is more efficient for flow organization.
Inputs
| Name | Type | Description |
|---|---|---|
| input_1..input_N | bool | Dynamic boolean input ports to be evaluated. |
⚠️ Warning
All configured input ports must be connected for the node to function correctly. If an input is missing, the node will not produce an output.
Outputs
| Name | Type | Description |
|---|---|---|
| output | bool | Returns true if at least one input is false; returns false if all inputs are true. |
Parameters
| Parameter | Default | Valid values | Tunable |
|---|---|---|---|
| Number of inputs | 2 | The whole number (integer) >= 2 | ❌ |
| Ignore Nothing values as inputs | false | bool | ❌ |
| Result when no inputs have values | false | bool | ❌ |
Number of inputs
Defines how many boolean input ports the node will provide for comparison.
Ignore Nothing values as inputs
- true: Any
Nothingvalue type inputs are ignored. - false: If any input is a
Nothingvalue type, the node output isNothing.
Result when no inputs have values
- true: When all inputs are
Nothingvalue type, the output istrue. - false: When all inputs are
Nothingvalue type, the output isfalse.
Example
Readiness check
A system should signal an alert if it is not ready. Readiness depends on all parts (A, B, C in our example) being 'ready'.
Configuration:
- Number of inputs:
3 - Ignore Nothing values as inputs:
false - Result when no inputs have values:
false
Result: If component A and B are true but component C is false, the NAND output is true, signifying the system is not ready.
Related links
Reference:
- AND — returns
trueonly if all inputs are 'true' - NOR — returns
trueonly if all inputs are 'false' - NOT — inverts boolean values
- Boolean Trigger — blocks or passes data based on an input value (trigger)