Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/http/mod.ts>CookieMap#get

Deno standard library
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.163.0/http/mod.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