def handle_choice

bendvy-ecs-core@0.1.0.3 · execution_query.bend:89

import bendvy-ecs-core@0.1.0.3/execution_query.bend as ExecutionQuery
import 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

Uses (3)

Used by (1)