ComfyUI Node: min

Class Name

Basic data handling: DataListMin

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

Identifies and returns the smallest value from a list, returning `None` for empty or non-comparable lists.

min:

The DataListMin node is designed to identify and return the smallest value from a given list of comparable items. This node is particularly useful when you need to determine the minimum value within a dataset, which can be crucial for various data analysis tasks or decision-making processes. By automating the process of finding the minimum value, this node simplifies workflows and enhances efficiency, especially when dealing with large datasets. It is important to note that if the list is empty or contains non-comparable elements, the node will return None, ensuring that you are aware of any issues with the input data.

min Input Parameters:

list

The list parameter is the primary input for the DataListMin node, requiring a list of items that you wish to evaluate. This list should contain comparable elements, such as numbers or strings, to ensure accurate results. The function of this parameter is to provide the dataset from which the minimum value will be extracted. There are no specific minimum or maximum values for this parameter, but it is essential that the list is not empty and contains comparable items to avoid returning None.

min Output Parameters:

min_value

The min_value output parameter represents the smallest value found within the provided list. This output is crucial for understanding the lower bound of your dataset and can be used in further analysis or decision-making processes. If the list is empty or contains non-comparable elements, the output will be None, indicating that the minimum value could not be determined.

min Usage Tips:

  • Ensure that the list contains comparable elements, such as all numbers or all strings, to avoid errors and ensure accurate results.
  • Use this node in conjunction with other data processing nodes to streamline workflows and automate the analysis of datasets.

min Common Errors and Solutions:

TypeError: '<' not supported between instances of 'str' and 'int'

  • Explanation: This error occurs when the list contains elements of different types that cannot be compared, such as strings and integers.
  • Solution: Ensure that all elements in the list are of the same type and are comparable.

ValueError: min() arg is an empty sequence

  • Explanation: This error is raised when the list provided to the node is empty.
  • Solution: Check the input list to ensure it contains elements before passing it to the node.

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