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

Return the value of a matching key present in the Request. If the key is not present undefined is returned.

Parameters

key: string

Returns

string | undefined