import { etag } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/mod.ts?s=etag.ifMatch";
const { ifMatch } = etag;
A helper function that takes the value from the If-Match
header and an
entity and returns true
if the ETag
for the entity matches the supplied
value, otherwise false
.
See MDN's If-Match
article for more information on how to use this function.