.subtracting() Subtraction

var setA: Set = ["A", "B", "C", "D"]
var setB: Set = ["C", "D"]
var setC = setA.subtracting(setB)
print(setC) 
// print: ["B", "A"]
Comments