Visit ComfyUI Online for ready-to-use ComfyUI environment
Node compares integer values based on conditions to provide boolean result for logic-based workflows.
The DeforumComparatorNode is designed to compare two integer values based on a specified condition, providing a boolean result that indicates whether the condition is met. This node is particularly useful in logic-based workflows where decision-making processes depend on the comparison of numerical values. By allowing you to set conditions such as less than, less than or equal to, greater than, greater than or equal to, and equal to, the node offers flexibility in handling various logical operations. This can be beneficial in scenarios where you need to control the flow of your AI art generation process based on numerical thresholds or criteria.
This parameter represents the first integer value to be compared. It plays a crucial role in the comparison operation, serving as one of the two values whose relationship is evaluated based on the specified condition. The default value is 0, with a minimum of -999999 and a maximum of 2^32, and it increments in steps of 1.
This parameter represents the second integer value to be compared. Similar to int_1
, it is essential for the comparison operation, acting as the counterpart to int_1
in the evaluation process. The default value is 0, with a minimum of -999999 and a maximum of 2^32, and it increments in steps of 1.
This parameter specifies the condition to be used for the comparison. The available options are <
, <=
, >
, >=
, and ==
. This condition determines the type of comparison that will be performed between int_1
and int_2
, influencing the boolean result of the node.
The output of this node is a boolean value that indicates whether the specified condition between int_1
and int_2
is met. If the condition is true, the output will be True
; otherwise, it will be False
. This boolean result can be used to control subsequent nodes or actions in your workflow, enabling dynamic and conditional logic.
int_1
and int_2
) are within the specified range to avoid unexpected results or errors.<
, <=
, >
, >=
, ==
) based on the specific logic you want to implement in your workflow.<
, <=
, >
, >=
, ==
).int_1
or int_2
are outside the allowed range (-999999 to 2^32).© Copyright 2024 RunComfy. All Rights Reserved.