import { isStrongETag } from "https://deno.land/x/etag_parser@1.1.0/validate.ts";
Whether the ETag is StrongETag or not.
Examples
Example 1
Example 1
import { isStrongETag } from "https://deno.land/x/etag_parser@$VERSION/validate.ts";
import { assert, assertFalse } from "https://deno.land/std/testing/asserts.ts";
assert(isStrongETag({ weak: false, tag: "123456789" }));
assertFalse(isStrongETag({ weak: true, tag: "123456789" }));
Parameters
etag: ETag
Returns
etag is StrongETag