Mhas
Bun

method

CookieMap.has

name: string
): boolean;

Checks if a cookie with the given name exists.

@param name

The name of the cookie to check

@returns

true if the cookie exists, false otherwise