Files
noodl-docs/nodes/logic/or/README.md
2023-09-22 12:35:24 +02:00

34 lines
1.8 KiB
Markdown

---
hide_title: true
hide_table_of_contents: true
title: Or
---
<##head##>
# Or
This node performs a logic OR operation on its inputs. If any input is <span className="ndl-data">true</span> the node will output <span className="ndl-data">true</span>. If all inputs are <span className="ndl-data">false</span> the node will output <span className="ndl-data">false</span>.
<div className="ndl-image-with-background l">
![](/nodes/logic/or/or_node.png)
</div>
Any number of inputs can be used. When an input is connected a new one will be created automatically.
<##head##>
## Inputs
| Data | Description |
| -------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| <span className="ndl-data">Input 0..N</span> | The inputs are numbered as _Input 0_,_Input 1_ etc. Whenever you connect to an input a new one is created so you will never run out of inputs. |
## Outputs
| Data | Description |
| ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <span className="ndl-data">Result</span> | The result of a logic OR operation on all of the inputs. Either `true` or `false`. `True` if at least one input is `true`, `false` if all inputs are `false`. |