AND: Difference between revisions

From Fancade Wiki
(Created page with "File:AND.png If both inputs are `True`, then it outputs `True`. Otherwise it outputs `False`. File:Screenshot_2022-02-14-07-24-58-75_6c69499164362a0dbe2f1dfe7c62199a.jpg Category:Blocks ")
 
m (Add section)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:AND.png]]
{{Block
|image=AND.png
|type=s
|folder=math
|input1={{Port|t|Tru1}}
|input2={{Port|t|Tru2}}
|output1={{Port|t|Tru1 & Tru2}}
}}


If both inputs are `True`, then it outputs `True`. Otherwise it outputs `False`.
If both inputs are [[True]] then it outputs [[True]]. Otherwise it outputs [[False]].


[[File:Screenshot_2022-02-14-07-24-58-75_6c69499164362a0dbe2f1dfe7c62199a.jpg]]
{{Image|AND example.jpg|Example}}


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


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

Latest revision as of 13:33, 29 July 2025

AND
AND.png
TypeScript block
ColliderNone
FolderMath
Ports
Inputs Tru1
Tru2
Outputs Tru1 & Tru2

If both inputs are True then it outputs True. Otherwise it outputs False.

Example

Related