def reason.pick

emerging-ezhttp@0.21.0.0 · src/http.bend:979

import emerging-ezhttp@0.21.0.0/src/http.bend as Http
import Base

979# this phrase when its code is the one asked for, else the rest's
980def reason.pick(text: String, hit: Bool, rest: Unit -> String) -> String:
981  match hit:
982    case True{}:
983      text
984    case False{}:
985      rest(Unit{})

Uses (3)

Used by (1)