Contents

isSubset(of:)

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

Declaration

func isSubset(of set: Set<AnyHashable>) -> Bool

Parameters

  • set:

    The set with which to compare the receiving ordered set.

Return Value

true if every object in the receiving ordered set is also present in set, otherwise false.

See Also

Comparing Sets