---
title: "isEqual(to:)"
framework: corewlan
role: symbol
role_heading: Instance Method
path: "corewlan/cwnetworkprofile/isequal(to:)"
---

# isEqual(to:)

Determine CWNetworkProfile object equality.

## Declaration

```swift
func isEqual(to networkProfile: CWNetworkProfile) -> Bool
```

## Parameters

- `networkProfile`: The CWNetworkProfile object with which to compare the receiver.

## Return Value

Return Value YES if the objects are equal.

## Discussion

Discussion CWNetwork objects are considered equal if their corresponding ssidData and securityType properties are equal.
