---
title: "==(_:_:)"
framework: Quick Look
role: symbol
role_heading: Operator
platforms: [visionOS 2.0+]
path: "quicklook/previewitem/==(_:_:)"
---

# ==(_:_:)

Returns a Boolean value that indicates whether two preview items are equal.

## Declaration

```swift
static func == (lhs: PreviewItem, rhs: PreviewItem) -> Bool
```

## Discussion

Discussion lhs: A preview item. rhs: Another preview item.
