Or

Boolean logic Pure
Or
A false
Result
B false

Description

Pure function returning true if a or b is true.

When to use

Use Or when any one of several conditions is sufficient to trigger an action. Wire the outputs of comparison or boolean nodes into Or and pass the result to Branch. For exactly-one semantics (where true from both operands should not pass), use Xor instead. Chain multiple Or nodes when more than two conditions need to be combined.

Pins

Input pins

Pin Type Default Notes
A boolean false The first boolean operand.
B boolean false The second boolean operand.

Output pins

Pin Type Notes
Result boolean True when at least one of a and b is true.

Example

Flag a request as suspicious when the payload is either too large or too small. Wire the Result output of Greater than? (B set to 10000) and the Result output of Less than? (B set to 10) into the A and B inputs of Or. Connect the Result output to the Condition input of Branch — the True execution output fires if the size is outside the expected range in either direction.

See also