Intersection between two sets
const setA = new Set([1,2]);const setB = new Set([2,3]);const diff = intersection(setA, setB);console.log(diff); // Set([2])
Generated using TypeDoc
Example
Intersection between two sets
Returns