import { unionBy } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/array.js";
This method is like _.union
except that it accepts iteratee
which is
invoked for each element of each arrays
to generate the criterion by
which uniqueness is computed. Result values are chosen from the first
array in which the value occurs. The iteratee is invoked with one argument:
(value).