Keeps only the items in a list where a predicate returns something truthy. The predicate is a small inner graph — open it by drilling into the node. It runs once per item and should evaluate to a boolean-ish value. An unconfigured or empty predicate keeps the list unchanged.Documentation Index
Fetch the complete documentation index at: https://docs.twine.se/llms.txt
Use this file to discover all available pages before exploring further.
Configuration
- Source list assign — assigns key holding the list to filter.
- Current item assign — the predicate reads the current item here. The
iterated item is also used as the subject for Attribute nodes, so you can
pick dated properties directly (e.g.
first_nameon an%Employee{}). - Output list assign — where the filtered list is written.
Truthiness rules
The predicate result is unwrapped before the check:nil,false,[], and""are falsy.- A list of dated properties is truthy when any element is truthy — handy for “keep this employee if they ever matched X historically”.
- Everything else (strings, numbers, structs) is truthy.
Tips
- Use Match or an arithmetic node as the final node of the predicate to return a boolean directly.
- The Evaluator pane lets you paste sample JSON for the current item assign so you can preview the predicate without a real run.