def drop_cr.last.if

bend-kit-http@0.38.2.0 · http.bend:146

import bend-kit-http@0.38.2.0/http.bend as Http
import Base

146def drop_cr.last.if(cr: Bool, c: U32) -> String:
147  match cr:
148    case True{}:
149      SNil{}
150    case False{}:
151      SCon{Chr{c}, SNil{}}

Uses (4)

Used by (1)