Keeps chosen items from a list (those corresponding to true values) and discards the others (those corresponding to false values) based on the Keep Pattern bool list. A short pattern is repeated over the remainder of the filtered list, allowing a pattern like [true, false] to keep every other item starting from the first. An empty pattern keeps all items.
Interface
Inputs
| Parameter | Details | Possible Types |
|---|---|---|
| List | The list of data to filter. Primary Input | Artboard[]Color[]Gradient[]Graphic[]Raster[]String[]Transform[]Vec2[]Vector[]bool[]f32[]f64[]u32[]u64[] |
| Keep Pattern | The list of true and false values that determines which corresponding items are kept ( | bool[] |
Outputs
| Product | Details | Possible Types |
|---|---|---|
| Result | The value produced by the node operation. Primary Output | String[]bool[]f32[]f64[]u32[]u64[]Vec2[]Transform[]Vector[]Graphic[]Raster[]Color[]Gradient[]Artboard[] |