Contents

isEqual(to:)

Compares the receiving ordered set to another ordered set.

Declaration

func isEqual(to other: NSOrderedSet) -> Bool

Parameters

  • other:

    The ordered set with which to compare the receiving ordered set.

Return Value

true if the contents of other are equal to the contents of the receiving ordered set, otherwise false.

Discussion

Two ordered sets have equal contents if they each have the same number of members, if each member of one ordered set is present in the other, and the members are in the same order.

See Also

Related Documentation

Comparing Sets