Skip to main content
Module

x/lodash_es/mod.ts>unionBy

lodash for deno use
Latest
variable unionBy
import { unionBy } from "https://deno.land/x/lodash_es@v0.0.2/mod.ts";

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).