> For the complete documentation index, see [llms.txt](https://docs.incari.com/incari-studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.incari.com/incari-studio/2021.4/toolbox/math/boolean/or.md).

# OR

## Overview

![The Or Node.](/files/IORCzSbeNQFhPQwCiDQ4)

**OR** is a *logical operator* **Node**, which combines two or more **Boolean** expressions to yield a **Boolean** value, based on the inputs' logical relationship to one another. The **Node** outputs a *true* value if *at least one* of its inputs is *true*. Otherwise, it outputs *false*.

This is the equivalent of the `||` operator in computer programming.

| Input 1 | Input 2 | Output |
| ------- | ------- | ------ |
| True    | True    | True   |
| True    | False   | True   |
| False   | True    | True   |
| False   | False   | False  |

## Attributes

| Attribute | Type    | Description                                                                                                     |
| --------- | ------- | --------------------------------------------------------------------------------------------------------------- |
| `Count`   | **Int** | The amount of input **Sockets** the **Node** will have (the number of **Boolean** values that will be checked). |

## Inputs

| Input             | Type      | Description                                                           |
| ----------------- | --------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse** | A standard input **Pulse**, to trigger the execution of the **Node**. |
| `Input [n]`       | **Bool**  | The **Boolean** values to be checked.                                 |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard output **Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| `Output`           | **Bool**  | *True* if *one or more* of the input **Boolean** values are also *true*. Otherwise *false*.                                            |

## See Also

* [**Boolean**](/incari-studio/2021.4/toolbox/math/boolean.md)
* [**Flow Control**](/incari-studio/2021.4/toolbox/flow-control.md)

## External Links

* [*Logical operation*](https://www.computerhope.com/jargon/l/logioper.htm) on Computer Hope.
