---
title: "isEqual(to:)"
framework: IOBluetooth
role: symbol
role_heading: Instance Method
path: "iobluetooth/iobluetoothsdpuuid/isequal(to:)"
---

# isEqual(to:)

Compares the target IOBluetoothSDPUUID object with the given otherUUID object.

## Declaration

```swift
func isEqual(to otherUUID: IOBluetoothSDPUUID!) -> Bool
```

## Parameters

- `otherUUID`: The UUID object to be compared with the target.

## Return Value

Return Value Returns true if the UUID values of each object are equal. This includes the case where the sizes are different but the data itself is the same when the Bluetooth UUID base is applied.

## Discussion

Discussion This method will compare the two UUID values independent of their length.
