Initializer

init(forIntersectSet:with:)

Returns a new NSExpression object that represent the intersection of a given set and collection.

Declaration

init(forIntersectSet left: NSExpression, with right: NSExpression)

Parameters

left

An expression that evaluates to an NSSet object.

right

An expression that evaluates to a collection object (an instance of NSArray, NSSet, or NSDictionary).

Return Value

A new NSExpression object that represents the intersection of left and right.

See Also

Creating a Collection Expression

init(forAggregate: [NSExpression])

Returns a new aggregate expression for a given collection.

init(forUnionSet: NSExpression, with: NSExpression)

Returns a new NSExpression object that represent the union of a given set and collection.

init(forMinusSet: NSExpression, with: NSExpression)

Returns a new NSExpression object that represent the subtraction of a given collection from a given set.