Latest
variable differenceWith
import { differenceWith } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/array.js";

This method is like _.difference except that it accepts comparator which is invoked to compare elements of array to values. The order and references of result values are determined by the first array. The comparator is invoked with two arguments: (arrVal, othVal).

Note: Unlike _.pullAllWith, this method returns a new array.