hasCookie()

Determines if there is a cookie with the specified name.

This function is valid in v2.0.0 to v2.24.3. This function has been downloaded 64 times.

Parameter

{string} name
The name of the proposed cookie.

Returns

{boolean}
true if a cookie with the specified name is found.

Requiring Function

This function is directly required by the following function:

  • setCookie()
    Takes the name of a cookie and sets its value.