<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSEqualPoints(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@F@NSEqualPoints"
  },
  "title" : "NSEqualPoints(_:_:)"
}
-->

# NSEqualPoints(_:_:)

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

```
func NSEqualPoints(_ aPoint: NSPoint, _ bPoint: NSPoint) -> Bool
```

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the two points `aPoint` and `bPoint` are identical, otherwise <doc://com.apple.documentation/documentation/Swift/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)