Skip to main content
Latest
variable intersectionBy
import { intersectionBy } from "https://deno.land/x/lodash_es@v0.0.2/mod.ts";

This method is like _.intersection except that it accepts iteratee which is invoked for each element of each arrays to generate the criterion by which they're compared. The order and references of result values are determined by the first array. The iteratee is invoked with one argument: (value).