DependencyPlan.has: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/dependency_plan.bend as DependencyPlan Lines 21-24 of bendvy-ecs-core@0.1.0.3/dependency_plan.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/dependency_plan.bend&start_line=21&end_line=24 import Base def has(~Requirement:Data,nodes:List<&2,Node>,+id:U32) -> Bool: match nodes: case []:False{} case Node{other,_} <> rest:Bool.or(U32.is_eq(other,id),has(~Requirement,rest,id)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/dependency_plan.bend&name=Node