def slash.pick

cswap-bend-cli@0.1.0.0 · fs.bend:134

import cswap-bend-cli@0.1.0.0/fs.bend as Fs
import Base

134def slash.pick(hit: Bool, t: String, rest: String) -> String:
135  match hit:
136    case True{}:
137      t
138    case False{}:
139      rest

Uses (2)

Used by (1)