import { Arrays } from "https://deno.land/x/arrays@v1.0.21/mod.ts";
const { diff } = Arrays;
Returns the unique elements in an array compared to the rest of the arrays (args).
import 'https://deno.land/x/arrays/mod.ts'
const arr1 = [1, 2, 3, 4]
const arr2 = [2, 'cat']
const arr3 = [1.1, 2.2, 3]
const arr4 = [[ 'cheetah', 'rhino' ], 4]
const diffArr = arr1.diff(arr2, arr3, arr4)
// => [1]