init(forIntersectSet:with:)
Creates an expression object that represents the intersection of a specified set and collection.
Declaration
init(forIntersectSet left: NSExpression, with right: NSExpression)Parameters
- left:
An expression that evaluates to an
NSSetobject. - right:
An expression that evaluates to a collection object (an instance of
NSArray,NSSet, orNSDictionary).
Return Value
A new NSExpression object that represents the intersection of left and right.