---
title: "hasSameAddress(as:)"
framework: coremidi
role: symbol
role_heading: Instance Method
path: "coremidi/midinetworkhost/hassameaddress(as:)"
---

# hasSameAddress(as:)

Compares this host instance with another to see if they share the same address value.

## Declaration

```swift
func hasSameAddress(as other: MIDINetworkHost) -> Bool
```

## Parameters

- `other`: The other host instance to compare.

## Return Value

Return Value A Boolean value that indicates whether the hosts have the same address value.
