Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProtoFlux:AND

The AND node takes in two value inputs and functions as both a logical AND or bitwise AND depending on the type used.
AND
A
*
B
Boolean

The AND node takes in two value inputs (either a bool or a number value), and functions as both a logical AND or bitwise AND depending on the type used.

If both inputs are true, then the result will be true.
This node's inputs default to true.
Compared to its Multi counterpart, the normal AND is slightly faster at the cost of not performing short-circuit evaluation: it always evaluates both inputs.

Inputs

A (Pseudo-generic)

The first input value.

B (Pseudo-generic)

The second input value.

Outputs

* (Pseudo-generic)

Returns the result of a logical AND of A and B if the node is a bool type, bitwise AND otherwise.

Examples

Further Reading

Videos

See Also