---
title: "UIEdgeInsetsEqualToEdgeInsets(_:_:)"
framework: uikit
role: symbol
role_heading: Function
path: "uikit/uiedgeinsetsequaltoedgeinsets(_:_:)"
---

# UIEdgeInsetsEqualToEdgeInsets(_:_:)

Returns a Boolean value indicating whether the two edge insets are the same.

## Declaration

```swift
func UIEdgeInsetsEqualToEdgeInsets(_ insets1: UIEdgeInsets, _ insets2: UIEdgeInsets) -> Bool
```
