pop random

Basic data handling: ListPopRandom

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
listLISTrequired

Outputs (2)

NameType
listLIST
item*