ComfyUI Node: <=

Class Name

Basic data handling: LessThanOrEqual

Category
Basic/comparison
Author
StableLlama (Account age: 861days)
Extension
Basic data handling
Latest Updated
2026-05-07
Github Stars
0.04K

How to Install Basic data handling

Install this extension via the ComfyUI Manager by searching for Basic data handling
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Basic data handling in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

<= Description

The `LessThanOrEqual` node compares two numbers to check if one is less than or equal to the other.

<=:

The LessThanOrEqual node is designed to facilitate basic data comparison by evaluating whether one numerical value is less than or equal to another. This node is particularly useful in scenarios where you need to make decisions based on numerical thresholds or conditions. By providing a straightforward mechanism to compare two numbers, it helps streamline workflows that involve conditional logic, ensuring that processes can adapt dynamically based on the input values. This node is essential for tasks that require validation or filtering of data based on numerical criteria, making it a valuable tool for AI artists who need to incorporate logical decision-making into their creative processes.

<= Input Parameters:

value1

value1 is the first numerical input parameter that the node evaluates. It represents the number that will be compared against the second input, value2. This parameter can be any floating-point number, and its value directly impacts the outcome of the comparison. There are no explicit minimum or maximum values specified, allowing for a wide range of numerical inputs. The node checks if this value is less than or equal to value2, and the result of this comparison determines the node's output.

value2

value2 is the second numerical input parameter used in the comparison. It serves as the reference value against which value1 is compared. Like value1, this parameter can also be any floating-point number, providing flexibility in the types of comparisons you can perform. The node evaluates whether value1 is less than or equal to this value, and the result of this evaluation is returned as the node's output.

<= Output Parameters:

result

The result is the output parameter of the node, which is a boolean value. It indicates the outcome of the comparison between value1 and value2. If value1 is less than or equal to value2, the result will be True; otherwise, it will be False. This output is crucial for determining the flow of logic in your workflow, allowing you to make decisions based on whether the specified condition is met.

<= Usage Tips:

  • Use the LessThanOrEqual node to set up conditional logic in your workflows, such as triggering specific actions when a value falls below a certain threshold.
  • Combine this node with other comparison nodes to create complex decision-making processes that can handle a variety of scenarios and conditions.

<= Common Errors and Solutions:

Invalid input type

  • Explanation: This error occurs when the input values are not numerical, as the node expects floating-point numbers for both value1 and value2.
  • Solution: Ensure that both input parameters are valid numbers. Convert any non-numerical inputs to floating-point numbers before passing them to the node.

Missing input values

  • Explanation: This error arises when one or both of the required input parameters are not provided.
  • Solution: Check that both value1 and value2 are specified and have valid numerical values before executing the node.

<= Related Nodes

Go back to the extension to check out more related nodes.
Basic data handling
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

<=