import { intersectionWith } from "https://deno.land/x/30_seconds_of_typescript@v1.0.1/util.ts";
Returns a list of elements that exist in both arrays, using a provided comparator function.
Use Array.prototype.filter()
and Array.prototype.findIndex()
in combination with the provided comparator to determine intersecting values.