<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "PackageDescription",
  "identifier" : "/documentation/PackageDescription/Version/_(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Operator",
  "symbol" : {
    "kind" : "Operator",
    "modules" : [
      "PackageDescription"
    ],
    "preciseIdentifier" : "s:18PackageDescription7VersionV1loiySbAC_ACtFZ"
  },
  "title" : "<(_:_:)"
}
-->

# <(_:_:)

Returns a Boolean value indicating whether the value of the first
argument is less than that of the second argument.

```
static func < (lhs: Version, rhs: Version) -> Bool
```

## Parameters

`lhs`

A value to compare.

`rhs`

Another value to compare.

## Discussion

The precedence is determined according to rules described in the [Semantic Versioning 2.0.0](https://semver.org) standard, paragraph 11.

---

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)