boolean
boolean
#
Boolean operator procedures that combine and negate boolean procedure results.
These nodes back the ~, &, and | operator overloads on
Procedure instances and enable boolean logic within workflows.
BoolAnd
#
Combine two boolean values with logical AND.
Returns true only if both left and right operands are true. Also
available as the & operator on procedures.
Attributes:
| Name | Type | Description |
|---|---|---|
left |
Input[Bool]
|
The left boolean operand. |
right |
Input[Bool]
|
The right boolean operand. |
Source code in capturegraph-lib/capturegraph/procedures/nodes/process/operators/boolean.py
BoolNot
#
Negate a boolean value (logical NOT).
Returns the logical negation of the input: true becomes false, false
becomes true. Also available as the ~ operator on procedures.
Attributes:
| Name | Type | Description |
|---|---|---|
value |
Input[Bool]
|
The boolean procedure to negate. |
Source code in capturegraph-lib/capturegraph/procedures/nodes/process/operators/boolean.py
BoolOr
#
Combine two boolean values with logical OR.
Returns true if either left or right operand (or both) are true. Also
available as the | operator on procedures.
Attributes:
| Name | Type | Description |
|---|---|---|
left |
Input[Bool]
|
The left boolean operand. |
right |
Input[Bool]
|
The right boolean operand. |