---
title: "==(_:_:)"
framework: visionkit
role: symbol
role_heading: Operator
path: "visionkit/datascannerviewcontroller/recognizeddatatype/==(_:_:)"
---

# ==(_:_:)

Returns a Boolean value indicating whether two sets have equal elements.

## Declaration

```swift
static func == (lhs: DataScannerViewController.RecognizedDataType, rhs: DataScannerViewController.RecognizedDataType) -> Bool
```

## Parameters

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

## Return Value

Return Value true if the values are equal; otherwise, false.

## See Also

### Hashing and comparing

- [hash(into:)](visionkit/datascannerviewcontroller/recognizeddatatype/hash(into:).md)
