def both_next
import bendvy-ecs-core@0.1.0.4/machine_conditions.bend as MachineConditionsimport Base
21def both_next(~Env: Data,first: Bool,env: Env,next: Env -> Bool) -> Bool:
22 match first:
23 case False{}: False{}
24 case True{}: next(env)