ComfyUI Node
DictFilter (Yogurt Nodes)
Filter dictionary entries based on key or value patterns
DictFilter (Yogurt Nodes)
- dict_data
- filtered_dict
◄pattern.*►
◄filter_bykey►
◄invertfalse►
CategoryYogurtNodes/Logic
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| dict_data | * | Dictionary to filter | |
| pattern | STRING | .* | Regex pattern to match |
| filter_byopt | COMBO | key | What to filter by: key, value, or both |
| invertopt | BOOLEAN | false | Invert the filter (exclude matches) |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| filtered_dict | * | — |