def any.step

ezx@1.11.0.0 · src/add/plan.bend:495

import ezx@1.11.0.0/src/add/plan.bend as Plan
import Base

495# the rest of a scan only when this step was not the hit
496def any.step(hit: Bool, rest: Unit -> Bool) -> Bool:
497  match hit:
498    case True{}:
499      True{}
500    case False{}:
501      rest(Unit{})

Uses (2)

Used by (1)