equals

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

Checks if this RouteLeg object is equal to another object.

Return

true if the objects are equal, false otherwise.

Parameters

other

The other object to compare.