Skip to main content
Module

x/ramda/mod.ts>unionWith

:ram: Practical functional Javascript
Latest
variable unionWith
import { unionWith } from "https://deno.land/x/ramda@v0.27.2/mod.ts";

Combines two lists into a set (i.e. no duplicates) composed of the elements of each list. Duplication is determined according to the value returned by applying the supplied predicate to two list elements. If an element exists in both lists, the first element from the first list will be used.