Visit ComfyUI Online for ready-to-use ComfyUI environment
Perform logical negation on boolean values for streamlined decision-making in workflows.
The ImpactNeg
node is designed to perform a logical negation operation on a boolean value. This means it takes a boolean input and returns the opposite value. For instance, if the input is True
, the output will be False
, and vice versa. This node is particularly useful in scenarios where you need to invert a condition or toggle a boolean state within your logic flow. By providing a straightforward and efficient way to negate boolean values, ImpactNeg
helps streamline logical operations and decision-making processes in your workflows.
This parameter represents the boolean value that you want to negate. It accepts a boolean input (True
or False
). The function of this parameter is to provide the initial state that will be inverted by the node. There are no minimum, maximum, or default values for this parameter as it strictly requires a boolean input. The impact of this parameter on the node's execution is direct; the node will output the opposite of whatever boolean value is provided here.
The output of the ImpactNeg
node is a single boolean value. This output represents the negated value of the input parameter. If the input was True
, the output will be False
, and if the input was False
, the output will be True
. This output is crucial for logical operations where the inversion of a condition is necessary, allowing for more complex and dynamic decision-making processes in your workflow.
ImpactNeg
node to easily invert conditions in your logic flow, which can be particularly useful in conditional statements or loops.ImpactNeg
with other logical operators to create more complex logical expressions and control structures.value
parameter is not a boolean.value
parameter is either True
or False
.value
parameter.value
parameter before executing the node.© Copyright 2024 RunComfy. All Rights Reserved.