Visit ComfyUI Online for ready-to-use ComfyUI environment
Evaluate floating-point numbers against unary conditions for AI art workflows, enabling criteria checks and flow control.
The CM_FloatUnaryCondition JK
node is designed to evaluate a single floating-point number against a specified unary condition. This node is particularly useful for AI artists who need to apply mathematical or logical checks on float values within their creative workflows. By leveraging this node, you can easily determine whether a given float meets certain criteria, such as being positive, negative, or within a specific range. This functionality can be instrumental in controlling the flow of your AI-generated art processes, ensuring that certain conditions are met before proceeding with further operations.
This parameter specifies the unary condition to be applied to the float value. It is a selection from a predefined list of conditions, such as checking if the float is positive, negative, zero, etc. The choice of condition directly impacts the result of the node, as it determines the logical check that will be performed on the input float. The available options are predefined and can be selected from a dropdown menu.
This parameter represents the float value that will be evaluated against the specified unary condition. It is the primary input for the node and its value will be checked according to the condition selected in the op
parameter. The float value can range from very small to very large numbers, depending on the specific requirements of your workflow. The default value is typically set to a neutral float, such as 0.0, but can be adjusted as needed.
The output of this node is a boolean value that indicates whether the input float meets the specified unary condition. If the condition is satisfied, the output will be true
; otherwise, it will be false
. This boolean result can be used to control subsequent nodes or operations in your workflow, enabling conditional logic based on the evaluation of the float value.
op
parameter to match the specific check you need to perform on the float value.a
parameter is a valid floating-point number.op
parameter is not recognized or supported by the node.op
and a
parameters are provided and correctly configured.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.