ComfyUI Node: min

Class Name

Basic data handling: ListMin

Category
Basic/LIST
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

min Description

ListMin node identifies and returns the smallest value from a list of comparable items.

min:

The ListMin node is designed to identify and return the smallest value from a list of comparable items. This node is particularly useful when you need to determine the minimum value within a collection of elements, such as numbers or other comparable data types. It simplifies the process of finding the minimum by automatically handling the comparison of elements within the list. If the list is empty or contains non-comparable items, the node gracefully returns None, ensuring that your workflow can handle such cases without errors. This functionality is essential for tasks that require sorting, filtering, or analyzing data sets to find the least value, making it a valuable tool for AI artists who need to manage and manipulate data efficiently.

min Input Parameters:

list

The list parameter is the primary input for the ListMin node, representing a collection of items from which the minimum value will be determined. This parameter accepts a list of any comparable data types, such as numbers or strings. The function of this parameter is to provide the data set that the node will analyze to find the smallest element. There are no specific minimum or maximum values for this parameter, as it depends on the data type of the elements within the list. However, the list must contain comparable items for the node to function correctly. If the list is empty or contains non-comparable elements, the node will return None.

min Output Parameters:

min_value

The min_value output parameter represents the smallest value found within the input list. This output is crucial for understanding the minimum element in your data set, which can be used for further processing or decision-making in your workflow. If the input list is empty or contains non-comparable items, the min_value will be None, indicating that no valid minimum could be determined. This output helps ensure that your workflow can handle such cases gracefully, without causing errors or unexpected behavior.

min Usage Tips:

  • Ensure that the list contains comparable items, such as numbers or strings, to avoid returning None due to non-comparable elements.
  • Use the ListMin node in conjunction with other list manipulation nodes to filter or sort data before finding the minimum value, optimizing your workflow for specific tasks.

min Common Errors and Solutions:

TypeError or ValueError

  • Explanation: These errors occur when the list contains non-comparable elements, preventing the node from determining the minimum value.
  • Solution: Verify that all elements in the list are of comparable types, such as all numbers or all strings, to ensure the node can process them correctly.

Empty List

  • Explanation: If the input list is empty, the node will return None as there are no elements to compare.
  • Solution: Ensure that the list contains at least one element before passing it to the node, or handle the None output in your workflow to manage empty lists gracefully.

min 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.

min