---
title: "==(_:_:)"
framework: swiftdata
role: symbol
role_heading: Operator
path: "swiftdata/schema/version-swift.struct/==(_:_:)"
---

# ==(_:_:)

Returns a Boolean value indicating whether two values are equal.

## Declaration

```swift
static func == (lhs: Schema.Version, rhs: Schema.Version) -> Bool
```

## Parameters

- `lhs`: A value to compare.
- `rhs`: Another value to compare.

## Return Value

Return Value A boolean value indicating the result of the equality test.

## Discussion

Discussion Equality is the inverse of inequality. For any values a and b, a == b implies that a != b is false.
