Form.form.badtype.one: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/form.bend as Form Lines 221-227 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=221&end_line=227 import Base # whether a part's content type holds a CR or an LF def form.badtype.one(p: Part) -> Bool: match p: case Field{name, value}: False{} case File{name, filename, +ctype, clash}: Bool.or(String.contains(ctype, "\r"), String.contains(ctype, "\n")) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.contains https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/form.bend&name=Part