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.