No edit summary |
this node is both logical and AND. maybe add examples for bitwise AND? later. |
||
Line 4: | Line 4: | ||
|Inputs= | |Inputs= | ||
[ | [ | ||
{"Name":"A", "Type":" | {"Name":"A", "Type":"Dummy"}, | ||
{"Name":"B", "Type":" | {"Name":"B", "Type":"Dummy"} | ||
] | ] | ||
|Outputs= | |Outputs= | ||
[ | [ | ||
{"Name":"*", "Type":" | {"Name":"*", "Type":"Dummy"} | ||
] | ] | ||
|}} | |}} | ||
And | The '''And''' node functions as both a [https://en.wikipedia.org/wiki/Logical_conjunction logical AND] or [https://en.wikipedia.org/wiki/Bitwise_and#AND bitwise AND] depending on the type used. | ||
== Inputs == | == Inputs == | ||
=== A ([[Type: | === A (Pseudo-generic) === | ||
First input. Can either be a[[Type:bool|boolean]] type or numerical type. | |||
=== B (Pseudo-generic) === | |||
Second input. Has the same type as <code>A</code>. | |||
=== B ( | |||
== Outputs == | == Outputs == | ||
=== * ( | === * (Pseudo-generic) === | ||
AND | Logical AND of <code>A</code> and <code>B</code> if the node is a [[Type:bool|bool]] type, bitwise AND otherwise. | ||
== Examples == | == Examples == |
Revision as of 04:12, 7 June 2024
AND
Operators
The And node functions as both a logical AND or bitwise AND depending on the type used.
Inputs
A (Pseudo-generic)
First input. Can either be aboolean type or numerical type.
B (Pseudo-generic)
Second input. Has the same type as A
.
Outputs
* (Pseudo-generic)
Logical AND of A
and B
if the node is a bool type, bitwise AND otherwise.
Examples
-
Example outputs of an AND node.