def form.split.field

emerging-ezhttp@0.21.0.0 · src/form.bend:290

import emerging-ezhttp@0.21.0.0/src/form.bend as Form
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

290# a field part onto the rest
291def form.split.field(name: String, value: String,
292  rest: List<&2, Part> & List<&1, Bytes.Bytes>)
293  -> List<&2, Part> & List<&1, Bytes.Bytes>:
294  (ps, fs) = rest
295  (Field{name, value} <> ps, fs)

Uses (6)

Used by (1)