filter select

Basic data handling: DataListFilterSelect

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 two new Data Lists containing only the elements from the value list where the corresponding element in the filter list is true or 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
selectBOOLEANrequired

Outputs (2)

NameType
true*
false*