Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/index.d.ts>intersection

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

It loops through listA and listB and returns the intersection of the two according to R.equals.

Parameters

listA: T[]
listB: T[]

Parameters

listA: T[]

Returns

(listB: T[]) => T[]