def handle_choice
import bendvy-ecs-core@0.1.0.3/execution_query.bend as ExecutionQueryimport Base
import bendvy-ecs-core@0.1.0.3/world.bend as W
89def handle_choice(~S:Data,handle:W.Handle<S>,rest:Maybe<&2,W.Handle<S>>,same:Bool) -> Maybe<&2,W.Handle<S>>:
90 match same:
91 case True{}:Some{handle}
92 case False{}:rest