def present_choice
import bendvy-ecs-core@0.1.0.4/ordinary_dump_eligibility.bend as OrdinaryDumpEligibilityimport Base
import bendvy-ecs-core@0.1.0.4/ordinary_dump_filter.bend as Filter
6# Presence derives from the ordinary count traversal on one actual alive handle.
7def present_choice(~S:Data,key:String,tail:List<&2,Filter.Value>,absent:Bool) -> List<&2,Filter.Value>:
8 match absent:
9 case True{}:tail
10 case False{}:Filter.Value{key,""} <> tail