def form.found
import emerging-ezhttp@0.21.0.0/src/form.bend as Formimport Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
272# whether a search found the delimiter, with the bytes handed back
273def form.found(r: Bytes.Bytes & Maybe<&2, U32>) -> Bytes.Bytes & Bool:
274 (bs, m) = r
275 match m:
276 case None{}:
277 (bs, False{})
278 case Some{i}:
279 (bs, True{})