<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 15.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPasteboardDetectionPatternNumber",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSPasteboardDetectionPatternNumber"
  },
  "title" : "NSPasteboardDetectionPatternNumber"
}
-->

# NSPasteboardDetectionPatternNumber

A pattern that indicates the pasteboard detects a string that consists of a numeric value.

```
extern NSPasteboardDetectionPattern const NSPasteboardDetectionPatternNumber;
```

## Return Value

NSNumber value

---

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)