hasCookie()

Determines if there is a cookie with the specified name.

This function is valid in v2.0.0 to v2.22.1. This function has been downloaded 27 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.