ComfyUI Node
Filter (list)
Keeps the list items whose expression is true. The expression sees item, index and count, plus any connected values.
Filter (list)
- items
- values
- kept
- kept_count
◄expressionitem > 0►
CategoryMAINodes/Flow
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| items | * | — | |
| expression | STRING | item > 0 | — |
| valuesopt | COMFY_AUTOGROW_V3 | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| kept | * | — |
| kept_count | INT | — |