CLLocationCoordinate2D

extension CLLocationCoordinate2D: Equatable
  • Returns a Boolean value indicating whether two coordinates are equal.

    Declaration

    Swift

    public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool

    Parameters

    lhs

    Coordinate to compare

    rhs

    Another coordinate to compare

    Return Value

    if coordinates are equal