🟧 Boolean Operation

Function Description

This operator can calculate results and output boolean values according to specified boolean logic operation methods.

Usage Scenarios

In complex algorithm workflows, used to create conditional branches and conditional judgments, controlling subsequent execution paths based on boolean logic operation results.

Input Output

Input

Input One: First boolean input, used for all logic operations (AND, OR, NOT).

Input Two: Second boolean input, only used in "AND" and "OR" operations, can be left unset for "NOT" operations.

Output

Boolean Output: Final result after logic operations.

Parameter Description

Calculation Method

Parameter Description

Specify the boolean operation method, supporting "AND", "OR", and "NOT" three operation methods.

Parameter Adjustment

  • AND: Requires all conditions to be true simultaneously. Only when both "Input One" and "Input Two" are "true" will the output result be "true"; otherwise output "false".

  • OR: Requires any one condition to be true. As long as at least one of "Input One" and "Input Two" is "true", the output result will be "true"; only when both are "false" will the output be "false".

  • NOT: Used for negation. This operation only targets "Input One". If "Input One" is "true", then output "false"; if "Input One" is "false", then output "true". "Input Two" is ignored in this mode.