---
title: "usesInterfaceType(_:)"
framework: network
role: symbol
role_heading: Instance Method
path: "network/nwpath/usesinterfacetype(_:)"
---

# usesInterfaceType(_:)

Checks if connections using the path may send traffic over a specific interface type.

## Declaration

```swift
func usesInterfaceType(_ type: NWInterface.InterfaceType) -> Bool
```

## Discussion

Discussion Paths can use interface types by directly routing over an interface, routing through a tunnel that goes over a physical interface, or being eligble to use multiple interfaces directly.

## See Also

### Inspecting Interfaces

- [availableInterfaces](network/nwpath/availableinterfaces.md)
- [gateways](network/nwpath/gateways.md)
