equals
Returns whether two URLs are strictly equal, by comparing their string representation.
WARNING: Strict URL comparisons can be a source of bug, if the URLs are not normalized. In most cases, you should compare using Url.isEquivalent.
Returns whether two URLs are strictly equal, by comparing their string representation.
WARNING: Strict URL comparisons can be a source of bug, if the URLs are not normalized. In most cases, you should compare using Url.isEquivalent.