def cut_pick

cswap-bend-cli@0.1.0.0 · rpcmsg.bend:189

import cswap-bend-cli@0.1.0.0/rpcmsg.bend as Rpcmsg
import Base

189def cut_pick(hit: Bool, rest: String, more: String) -> String:
190  match hit:
191    case True{}:
192      rest
193    case False{}:
194      more

Uses (2)

Used by (1)