Instance Method

isSubsetOfOrderedSet:

Returns a Boolean value that indicates whether every object in the receiving ordered set is also present in another given ordered set.

Declaration

- (BOOL)isSubsetOfOrderedSet:(NSOrderedSet<ObjectType> *)other;

Parameters

other

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

Return Value

YES if every object in the receiving set is also present in other, otherwise NO.

See Also

Comparing Sets

- isEqualToOrderedSet:

Compares the receiving ordered set to another ordered set.

- intersectsOrderedSet:

Returns a Boolean value that indicates whether at least one object in the receiving ordered set is also present in another given ordered set.

- intersectsSet:

Returns a Boolean value that indicates whether at least one object in the receiving ordered set is also present in another given set.

- isSubsetOfSet:

Returns a Boolean value that indicates whether every object in the receiving ordered set is also present in another given set.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software