Bool Operator
Node description and basic instructions
Description
Massive node to operation with bool values and store operation result.
To create it, right-click in the editor and select Create Node/Tasks/Math/Bool Operator
This task node has a number of fields, that are highlighted in picture below.
Fields
Name | Description |
---|---|
Node Name | Name of node. |
Ignore About Self | Whether node ignores abort self or not. |
Bool 1 | First key of bool. |
Bool 2 | Second key of bool. |
Store Result | Key to store operation result. |
Operation | Logic Operator |
Logic Operators
AND - The conditional logical AND operator
&&
, also known as the "short-circuiting" logical AND operator, computes the logical AND of its operands. The result ofx && y
istrue
if bothx
andy
evaluate totrue
. Otherwise, the result isfalse
. Ifx
evaluates tofalse
,y
isn't evaluated.OR - The conditional logical OR operator
||
, also known as the "short-circuiting" logical OR operator, computes the logical OR of its operands. The result ofx || y
istrue
if eitherx
ory
evaluates totrue
. Otherwise, the result isfalse
. Ifx
evaluates totrue
,y
isn't evaluated.NAND - The conditional logical NAND operator
!(&&)
for two conditions (A and B) istrue
as long as either condition is true, or none of the conditions is true; and it isfalse
if both conditions are true.XOR - The inequality operator
!=
returnstrue
if its operands aren't equal,false
otherwise. For the operands of the built-in types, the expressionx != y
produces the same result as the expression!(x == y)
.
Last updated