OR: Difference between revisions

From Fancade Wiki
(Created page with "File:OR1.png If at least one of the inputs is `True`, then it outputs `True`. Otherwise, it outputs `False`. File:Screenshot_2022-02-14-07-25-33-16_6c69499164362a0dbe2f1dfe7c62199a.jpg Category:Blocks ")
 
(Standartise truth in descriptions)
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:OR1.png]]
{{Block
|image=OR.png
|type=s
|folder=Math
|input1={{Port|t|Tru1}}
|input2={{Port|t|Tru2}}
|output1={{Port|t|<nowiki>Tru1 | Tru2</nowiki>}}
}}


If at least one of the inputs is `True`, then it outputs `True`. Otherwise, it outputs `False`.
If at least one of the inputs is [[True]], then it outputs True.
Otherwise, it outputs False.


[[File:Screenshot_2022-02-14-07-25-33-16_6c69499164362a0dbe2f1dfe7c62199a.jpg]]
{{Image|OR example.jpg|Example}}


== Related ==
* [[AND]]
* [[NOT]]
* [[Equal Truths]]


[[Category:Blocks]]
[[Category:Blocks]]

Latest revision as of 00:41, 23 August 2025

OR
OR.png
TypeScript block
ColliderNone
FolderMath
Ports
Inputs Tru1
Tru2
Outputs Tru1 | Tru2

If at least one of the inputs is True, then it outputs True. Otherwise, it outputs False.

Example

Related