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.
xorWith([1,2,3,4], [3,4,5,6], (x,y) => x === y); // returns [1,2,5,6];
new filtered exclusive array1
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.
xorWith([1,2,3,4], [3,4,5,6], (x,y) => x === y); // returns [1,2,5,6];