ExecutionQueryMatches.membership: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/execution_query_matches.bend as ExecutionQueryMatches Lines 39-44 of bendvy-ecs-core@0.1.0.3/execution_query_matches.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/execution_query_matches.bend&start_line=39&end_line=44 import Base def membership(-V:Data,presence:Presence,value:Maybe<&2,V>) -> Bool: match presence: case Optional{}:True{} case Required{}:present(V,value) case With{}:present(V,value) case Without{}:Bool.not(present(V,value)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_query_matches.bend&name=Presence https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_query_matches.bend&name=present