Query.selection_aux: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/query.bend as Query Lines 26-33 of bendvy-ecs-core@0.1.0.4/query.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/query.bend&start_line=26&end_line=33 import Base import component.bend as Cmp def selection_aux(~V: Data,mode: Selection,value: Cmp.Access) -> Bool: match mode value: case Required{} Cmp.Found{_}: True{} case Present{} Cmp.Found{_}: True{} case Absent{} Cmp.ComponentAbsent{}: True{} case Optional{} Cmp.Found{_}: True{} case Optional{} Cmp.ComponentAbsent{}: True{} case _ _: False{} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/component.bend&name=Access https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/query.bend&name=Selection