Boolean List Logical Operation

Function Description

Performs specified logical operations on input Boolean lists according to corresponding dimensions.

Use Cases

General-purpose logical operation step, commonly used to logically combine multiple conditions after preceding steps generate Boolean lists. For example, when multiple Boolean conditions need to be satisfied simultaneously (AND), at least one needs to be satisfied (OR), or conditions need to be reversed (NOT).

Inputs

  • Boolean List: First input. The number of input ports can be set through the “Port Count” parameter. XOR is fixed at 2 input ports, NOT is fixed at 1 port, and AND/OR can be set to 1~n ports (default is 2).

  • Boolean List: The number of input ports can be set through the “Port Count” parameter.

Outputs

  • Boolean List: Boolean list of logical operation results.

Parameters

  • Logical Operator

    Specifies the logical operation to perform. Currently supports basic operations: AND, OR, XOR, NOT.

  • Port Number

    Dynamically adjusts the number of input Boolean lists. Adjustment permissions are determined by the logical operator:

    • XOR operation: Fixed at 2 input ports

    • NOT operation: Fixed at 1 input port

    • AND operation: Supports 1~n input ports (default 2)

    • OR operation: Supports 1~n input ports (default 2)