def head.pick

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

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

156def head.pick(blank: Bool, h: String, rest: String) -> String:
157  match blank:
158    case True{}:
159      ""
160    case False{}:
161      h ++ "\n" ++ rest

Uses (3)

Used by (1)