def ia.val

cswap-bend-cli@0.1.0.0 · cfgio.bend:49

import cswap-bend-cli@0.1.0.0/cfgio.bend as Cfgio
import Base

49def ia.val(+a: IA, +v: String) -> IA:
50  match a:
51    case IA{file, fmt, replace, err, w, data}:
52      Bool.pick(IA, String.eq(w, "--data"), IA{file, fmt, replace, err, "", Some{v}}, IA{file, Some{v}, replace, err, "", data})

Uses (5)

Used by (2)