<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/ProcessInfo/isOperatingSystemAtLeast(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSProcessInfo(im)isOperatingSystemAtLeastVersion:"
  },
  "title" : "isOperatingSystemAtLeast(_:)"
}
-->

# isOperatingSystemAtLeast(_:)

Returns a Boolean value indicating whether the version of the operating system on which the process is executing is the same or later than the given version.

```
func isOperatingSystemAtLeast(_ version: OperatingSystemVersion) -> Bool
```

## Parameters

`version`

The operating system version to test against.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the operating system on which the process is executing is the same or later than the given version; otherwise <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

This method accounts for major, minor, and update versions of the operating system.

---

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)