HttpCookies.has

Checks whether a request has a cookie or not.

class HttpCookies
final
bool
has
(
string name
)

Parameters

name string

The name of the cookie to check for existence.

Return Value

Type: bool

True if the cookie exists, false otherwise.

Meta