filter

Basic data handling: DataListFilter

Filters a Data List using boolean values. This node takes a value Data List and a filter Data List (containing only boolean values). It returns a new Data List containing only the elements from the value list where the corresponding element in the filter list is False. If the lists have different lengths, the last element of the shorter list is repeated till the lengths are matching.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (2)

NameTypeRequired
value*required
filterBOOLEANrequired

Outputs (1)

NameType
filtered_list*