Difference between revisions of "& (LogiX node)"
Jump to navigation
Jump to search
m |
|||
Line 3: | Line 3: | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Logix Node | {{Infobox Logix Node | ||
− | |Name=& | + | | Name = & |
− | |Image=[[File: | + | | Image =[[File: AND_BoolNode.png | noframe | 256px | '&' LogiX node ]] |
− | |Input0Type= | + | | Input0Type = Bool | Input0Name = A |
− | |Input1Type= | + | | Input1Type = Bool | Input1Name = B |
− | |Output0Type= | + | | Output0Type = Bool | Output0Name = * |
}} | }} | ||
+ | |||
<!--T:2--> | <!--T:2--> | ||
Line 14: | Line 15: | ||
== Usage == <!--T:3--> | == Usage == <!--T:3--> | ||
− | When spawned from the node browser, this node accepts the int datatype by default | + | When spawned from the node browser, this node accepts the int datatype by default, but it is more commonly used to work with Boolean values (True/False). The outputs will be True if, and only if, all inputs are True - otherwise it will output False. This node will accept some numeric datatypes, in which case it performs the operation in a [https://wikipedia.org/wiki/Bitwise_operation bitwise] manner. |
== Examples == <!--T:4--> | == Examples == <!--T:4--> |
Revision as of 23:20, 16 November 2020
& | ||
---|---|---|
Inputs | ||
Bool | A | |
Bool | B | |
Outputs | ||
Bool | * |
The & node performs the logical AND operation on inputs A and B.
Usage
When spawned from the node browser, this node accepts the int datatype by default, but it is more commonly used to work with Boolean values (True/False). The outputs will be True if, and only if, all inputs are True - otherwise it will output False. This node will accept some numeric datatypes, in which case it performs the operation in a bitwise manner.