ExecutionQueryIdentity.unique: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/execution_query_identity.bend as ExecutionQueryIdentity Lines 28-31 of bendvy-ecs-core@0.1.0.3/execution_query_identity.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/execution_query_identity.bend&start_line=28&end_line=31 import Base import bendvy-ecs-core@0.1.0.3/world.bend as W import bendvy-ecs-core@0.1.0.3/execution_state.bend as State def unique(~S:Data,handles:List<&2,W.Handle>) -> Bool: match handles: case []:True{} case +head <> +tail:Bool.and(Bool.not(State.member(~S,head,tail)),unique(~S,tail)) 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.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_state.bend&name=member https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/world.bend&name=Handle