<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIImage/SymbolConfiguration-swift.class/isEqual(to:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIImageSymbolConfiguration(im)isEqualToConfiguration:"
  },
  "title" : "isEqual(to:)"
}
-->

# isEqual(to:)

Returns a Boolean value that indicates whether the configuration objects are equivalent.

```
func isEqual(to otherConfiguration: UIImage.SymbolConfiguration?) -> Bool
```

## Parameters

`otherConfiguration`

The other configuration object. Specify `nil` to compare the current configuration object to the configuration object in the [`unspecified`](/documentation/UIKit/UIImage/SymbolConfiguration-swift.class/unspecified) property.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the trait collections and image configuration values of both objects match; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)