import { isWeakETag } from "https://deno.land/x/etag_parser@1.1.0/mod.ts";
Examples
Example 1
Example 1
import { isWeakETag } from "https://deno.land/x/etag_parser@$VERSION/validate.ts";
import { assert, assertFalse } from "https://deno.land/std/testing/asserts.ts";
assert(isWeakETag({ weak: true, tag: "123456789" }));
assertFalse(isWeakETag({ weak: false, tag: "123456789" }));
Parameters
etag: ETag