Instance Method

isEqual(_:)

Returns a Boolean value that indicates whether the audio format instance and a given object have identical format settings.

Declaration

func isEqual(_ object: Any) -> Bool

Parameters

object

The object to be compared.

Return Value

true if the receiver and object are equal, otherwise false.

Discussion

This method defines what it means for instances to be equal. The two objects are considered equal if and only if they return identical values for all the settings.