def unnamed.pick

ezx@1.11.0.0 · src/pkg/pkg.bend:430

import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg
import Base

430# the name when the hub rules it out, the rest's otherwise
431def unnamed.pick(bad: Bool, +nv: String, rest: Unit -> String) -> String:
432  match bad:
433    case True{}:
434      nv
435    case False{}:
436      rest(Unit{})

Uses (3)

Used by (1)