<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/CoordinateSpan/equals",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "instm/mapkit.CoordinateSpan/equals"
  },
  "title" : "equals(anotherSpan)"
}
-->

# equals(anotherSpan)

Returns a Boolean value that indicates whether two spans are equal.

```
equals(anotherSpan: CoordinateSpan): boolean;
```

## Parameters

`anotherSpan`

The span to compare.

## Return Value

`true` if the span specified by `anotherSpan` equals this span; otherwise, `false`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)