compare_to method

compare_to

Determines whether the specified Url, is equal to this instance.

Returns

true if the specified Url is equal to this instance; otherwise, false.

def compare_to(self, url, exclude_fragments):
    ...
ParameterTypeDescription
urlUrlThe Url to compare with this instance.
exclude_fragmentsboolFlag which indicates whether or not fragment segment is excluded
from comparison. true if excluded, false otherwise. Default value is false.

See Also