def named.pick

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

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

403# the first component, when it is a name, and "" when it is not
404def named.pick(named: Bool, +first: String) -> String:
405  match named:
406    case True{}:
407      first
408    case False{}:
409      ""

Uses (2)

Used by (1)