Returns an array of items that only appear in one of the given arrays
function difference<T>(...arrs: T[][]): T[]
// Example:
const arr1 = [1, 2, 3, 4]
const arr2 = [3, 4, 5, 6]
difference(arr1, arr2) //=> [1, 2, 5, 6]
Returns an array of items that only appear in one of the given arrays
function difference<T>(...arrs: T[][]): T[]
// Example:
const arr1 = [1, 2, 3, 4]
const arr2 = [3, 4, 5, 6]
difference(arr1, arr2) //=> [1, 2, 5, 6]