remove

Basic data handling: ListRemove

Removes the first occurrence of a specified value from a LIST. This node takes a LIST and a value as inputs, then returns a new LIST with the first occurrence of the value removed and a success indicator. If the value is not present, the original LIST is returned with success set to False.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (2)

NameTypeRequired
listLISTrequired
value*required

Outputs (2)

NameType
listLIST
successBOOLEAN