def any.step

emerging-ezhttp@0.21.0.0 · src/form.bend:69

import emerging-ezhttp@0.21.0.0/src/form.bend as Form
import Base

69# a search that hits when this does or the rest does: a true ends it
70def any.step(hit: Bool, rest: Unit -> Bool) -> Bool:
71  match hit:
72    case True{}:
73      True{}
74    case False{}:
75      rest(Unit{})

Uses (2)

Used by (3)