pop random

Basic data handling: DataListPopRandom

Removes and returns a random element from a list. This node takes a list as input and returns the list with the random element removed and the removed element itself. If the list is empty, it returns None for the element.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (1)

NameTypeRequired
list*required

Outputs (2)

NameType
list*
item*