Skip to main content
Module

std/http/mod.ts>CookieMap#get

Deno standard library
Go to Latest
method CookieMap.prototype.get
import { CookieMap } from "https://deno.land/std@0.158.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