Or-Gate Node:
The Or Gate node performs a logical OR operation on its input messages and outputs a boolean value indicating whether any of the input messages have a payload of true
.
Node Name: OR-gate
User Guide Summary:
The OR-gate node has 1 output.
When triggered, the OR-gate node compares the selection quantity to the input quantity. If any of the inputs are true, it will emit a true output.
It accepts 1 input, and is driven by the ‘input-select’ node.
Where each ‘input-select’ node represents a virtual input on the corresponding OR-gate.
If you wish to skip the input-select node:
Accepts a msg.payload of type JSON Object, i.e:
{"Input":1,"Value":true}
{"Input":2"Value":true}
If any inputs are true, it will emit a true value: {"Value":true} , else it will emit {"Value":false}.