<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.7.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreLocation",
  "identifier" : "/documentation/CoreLocation/CLLocationCoordinate2DIsValid(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Location"
    ],
    "preciseIdentifier" : "c:@F@CLLocationCoordinate2DIsValid"
  },
  "title" : "CLLocationCoordinate2DIsValid(_:)"
}
-->

# CLLocationCoordinate2DIsValid(_:)

Returns a Boolean value indicating whether the specified coordinate is valid.

```
func CLLocationCoordinate2DIsValid(_ coord: CLLocationCoordinate2D) -> Bool
```

## Parameters

`coord`

A coordinate containing latitude and longitude values.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the coordinate is valid or <doc://com.apple.documentation/documentation/Swift/false> if it is not.

## Discussion

A coordinate is considered invalid if it meets at least one of the following criteria:

- Its latitude is greater than 90 degrees or less than -90 degrees.
- Its longitude is greater than 180 degrees or less than -180 degrees.

---

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)