Form.form.hit: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/form.bend as Form Lines 204-211 of emerging-ezhttp@0.21.0.0/src/form.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/form.bend&start_line=204&end_line=211 import Base # whether a part's content holds the delimiter: a field's octets are # searched, a file's answer was found in its bytes def form.hit(+b: String, p: Part) -> Bool: match p: case Field{name, value}: octets.has(octets.onto(value, []), form.delim(b)) case File{name, filename, ctype, clash}: clash Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/form.bend&name=Part https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/form.bend&name=form.delim https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/form.bend&name=octets.has https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/form.bend&name=octets.onto