---
title: "UIOffsetEqualToOffset(_:_:)"
framework: uikit
role: symbol
role_heading: Function
path: "uikit/uioffsetequaltooffset(_:_:)"
---

# UIOffsetEqualToOffset(_:_:)

Returns a Boolean value that indicates whether two offsets are equal.

## Declaration

```swift
func UIOffsetEqualToOffset(_ offset1: UIOffset, _ offset2: UIOffset) -> Bool
```
