Compose.selected_value: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/compose.bend as Compose Lines 145-153 of bendvy-ecs-core@0.1.0.4/compose.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/compose.bend&start_line=145&end_line=153 import Base import component.bend as Cmp # Optional means a live entity with either family presence state. def selected_value(~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/compose.bend&name=Selection