Reference
Logic
And (Short-Circuit)
| Input | Two boolean arguments. |
| Output | True if both arguments are true. False otherwise. |
| Evaluation | Short-circuit (lazy) - the second argument is only evaluated if the first is true. |
Signature
Example
And (Strict)
| Input | Two boolean arguments. |
| Output | True if both arguments are true. False otherwise. |
| Evaluation | Strict (eager) - both arguments are always evaluated. |
Signature
Example
Or (Short-Circuit)
| Input | Two boolean arguments. |
| Output | True if at least one argument is true. False otherwise. |
| Evaluation | Short-circuit (lazy) - the second argument is only evaluated if the first is false. |
Signature
Example
Or (Strict)
| Input | Two boolean arguments. |
| Output | True if at least one argument is true. False otherwise. |
| Evaluation | Strict (eager) - both arguments are always evaluated. |
Signature
Example
Xor
| Input | Two boolean arguments. |
| Output | True if exactly one argument is true. False otherwise. |
Signature
Example
Not
| Input | One boolean argument. |
| Output | True if the argument is false. False if the argument is true. |
Signature
Example