def find.pick

cswap-bend-cli@0.1.0.0 · settings.bend:325

import cswap-bend-cli@0.1.0.0/settings.bend as Settings
import Base

325def find.pick(hit: Bool, sp: Spec, rest: Maybe<&2, Spec>) -> Maybe<&2, Spec>:
326  match hit:
327    case True{}:
328      Some{sp}
329    case False{}:
330      rest

Uses (3)

Used by (1)