Skip to main content
Module

x/rambda/index.d.ts>union

Faster and smaller alternative to Ramda
Go to Latest
function union
import { union } from "https://deno.land/x/rambda@v7.0.1/index.d.ts";

It takes two lists and return a new list containing a merger of both list with removed duplicates.

R.equals is used to compare for duplication.

Parameters

x: T[]
y: T[]