def targets

bendvy-ecs-core@0.1.0.4 · ordinary_checked_bindings.bend:64

import bendvy-ecs-core@0.1.0.4/ordinary_checked_bindings.bend as OrdinaryCheckedBindings
import Base
import bendvy-ecs-core@0.1.0.4/schedule.bend as Sch

64def targets(values:List<&2,Description>,+steps:List<&2,Sch.Step>) -> Bool:
65  match values:
66    case []:True{}
67    case Description{id,_} <> rest:Bool.and(has_system(steps,id),targets(rest,steps))

Uses (6)

Used by (2)