import { is } from "https://deno.land/x/doa@v1.0.0/utils/typeIs.ts";
Compare a value
content-type with types
.
Each type
can be an extension like html
,
a special shortcut like multipart
or urlencoded
,
or a mime type.
If no types match, false
is returned.
Otherwise, the first type
that matches is returned.