ComfyUI Node
filter
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.
filter
- value
- filtered_list
◄filter—►
CategoryBasic/Data List
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| value | * | — | |
| filter | BOOLEAN | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| filtered_list | * | — |