Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method CookieMap.prototype.has
import { CookieMap } from "https://deno.land/std@0.178.0/http/cookie_map.ts";

Returns true if the matching key is present in the Request, otherwise false.

Parameters

key: string

Returns

boolean