get

Bun

Symbol

CookieMap.get

get(name: string): null | string

Gets the value of a cookie with the specified name.

@param name

The name of the cookie to retrieve

@returns

The cookie value as a string, or null if the cookie doesn't exist