equal

fun equal(cookie2: Cookie): Boolean

Tests if @cookie1 and @cookie2 are equal.

Note that currently, this does not check that the cookie domains match. This may change in the future.

Return

whether the cookies are equal.

Parameters

cookie2

a #SoupCookie