<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/SCNetworkSetContainsInterface(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "System Configuration"
    ],
    "preciseIdentifier" : "c:@F@SCNetworkSetContainsInterface"
  },
  "title" : "SCNetworkSetContainsInterface(_:_:)"
}
-->

# SCNetworkSetContainsInterface(_:_:)

Returns a Boolean value indicating whether the specified interface is represented by at least one network service in the specified set.

```
func SCNetworkSetContainsInterface(_ set: SCNetworkSet, _ interface: SCNetworkInterface) -> Bool
```

## Parameters

`set`

The set (the complete configuration for a single location).

`interface`

The network interface.

## Return Value

`TRUE` if the interface is represented in the set; otherwise, `FALSE`.

## Discussion

---

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)