equals

open operator override fun equals(other: Any?): Boolean

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.