Mget
Bun

method

CookieMap.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