contains(_:)
Returns a Boolean value indicating whether the geographic area contains the specified coordinate.
Declaration
func contains(_ coordinate: CLLocationCoordinate2D) -> BoolParameters
- coordinate:
The coordinate to test against the region.
Return Value
Returns true if the coordinate lies within the region’s boundaries, or false if it doesn’t.