def either_next

bendvy-ecs-core@0.1.0.4 · machine_conditions.bend:25

import bendvy-ecs-core@0.1.0.4/machine_conditions.bend as MachineConditions
import Base

25def either_next(~Env: Data,first: Bool,env: Env,next: Env -> Bool) -> Bool:
26  match first:
27    case False{}: next(env)
28    case True{}: True{}

Uses (1)

Used by (1)