def body.pick

cswap-bend-cli@0.1.0.0 · http.bend:39

import cswap-bend-cli@0.1.0.0/http.bend as Http
import Base

39def body.pick(empty: Bool, body: String) -> String:
40  match empty:
41    case True{}:
42      ""
43    case False{}:
44      line("data-raw", body)

Uses (3)

Used by (1)