×

Combine Lists

iOS 14 +

Notes

Combine two lists by joining, intersecting or subtracting. Joining combines the two lists into one. Intersecting creates a list of all the elements in the first that are also in the second. Subtracting creates a list of all the elements in the first that are not in the second.

Syntax

combineLists(firstList: <#Array#>, secondList: <#Array#>, operation: <#Enumeration (CombineListsOperation)#>, removeDuplicates: <#Boolean#>)

Example

combineLists(firstList: ListOne, secondList: ListTwo, operation: join, removeDuplicates: true)