returns a new array made of the non-intersecting items of the two given arrays, it accepts comparator which is invoked to compare elements of arrays.
new filtered exclusive array1
xorWith([1,2,3,4], [3,4,5,6], (x,y) => x === y);// returns [1,2,5,6]; Copy
xorWith([1,2,3,4], [3,4,5,6], (x,y) => x === y);// returns [1,2,5,6];
Generated using TypeDoc
returns a new array made of the non-intersecting items of the two given arrays, it accepts comparator which is invoked to compare elements of arrays.