Or
True if at least one connected value is true.
Node id logic/or
The Or node outputs true as soon as one of the values connected to
values is true, and false if all of them are false.
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| values | boolean | — | multilazy |
Outputs
| Name | Type | Notes |
|---|---|---|
| result | boolean |
Behaviour
- Any number of inputs.
valuesis a multi input: connect as many values as needed, each to its own slot. - Stops at the first true. Values are evaluated in slot order, and the ones after the first true are not evaluated at all. A failing node in those later slots doesn't make Or fail.
- Nothing connected gives false.
Errors
- If one of the values it evaluates fails, Or fails too and its branch is left out. The failing node is the one marked.