17 lines
968 B
Markdown
17 lines
968 B
Markdown
|
|
# Or (Logic)
|
||
|
|
|
||
|
|
Menu Path : **Operator > Logic > Or**
|
||
|
|
|
||
|
|
The **Or** Operator takes two inputs and outputs the result of a logical *or* operation between them. The result of A **Or** B is `true` if either A or B is `true`. This Operator is equivalent to the C# `||` operator.
|
||
|
|
|
||
|
|
## Operator properties
|
||
|
|
|
||
|
|
| **Input** | **Type** | **Description** |
|
||
|
|
| --------- | -------- | ---------------------------------------------------------- |
|
||
|
|
| **A** | bool | The left operand. If this is `true` then **o** is `true`. |
|
||
|
|
| **B** | bool | The right operand. If this is `true` then **o** is `true`. |
|
||
|
|
|
||
|
|
| **Output** | **Type** | **Description** |
|
||
|
|
| ---------- | -------- | ------------------------------------------------------------ |
|
||
|
|
| **o** | bool | If **A** or **B** is `true`, this value is `true`. Otherwise, if both **A** and **B** are `false` this value is `false`. |
|