Skip to main content
Module

x/oak_nest/deps.ts>ifNoneMatch

Refer to nestjs to realize some common functions for Deno
Go to Latest
function ifNoneMatch
import { ifNoneMatch } from "https://deno.land/x/oak_nest@v1.13.18/deps.ts";

A helper function that takes the value from the If-No-Match header and an entity and returns false if the ETag for the entity matches the supplied value, otherwise false.

See MDN's If-None-Match article for more information on how to use this function.

Parameters

value: string
entity: string | Uint8Array | FileInfo
optional
options: ETagOptions = [UNSUPPORTED]

Returns

Promise<boolean>