Module

std/http/util.ts>compareEtag

Deno standard library
Go to Latest
function compareEtag
import { compareEtag } from "https://dotland.deno.dev/std@0.181.0/http/util.ts";

Returns true if the etags match. Weak etag comparisons are handled.

Parameters

a: string
b: string

Returns

boolean