equals

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

Compares this Url to another object for equality. Returns true if the encoded string representations of this Url and the given Url are equal. Case counts. Paths are not normalized. If one Url specifies a default port explicitly and the other leaves it implicit, they will not be considered equal.