Instance Method

isEqual(to:)

Comparison method for NWPath objects

Declaration

func isEqual(to path: NWPath) -> Bool

Parameters

path

Another NWPath object to compare.

Discussion

Returns true if the objects are equal, false otherwise. If two NWPath objects are equal, this means that the underlying network configuration (routes, interfaces, address, etc.) are the same between them.