Skip to main content
Module

x/rambda/rambda.js>intersection

Faster and smaller alternative to Ramda
Latest
function intersection
import { intersection } from "https://deno.land/x/rambda@v9.2.0/rambda.js";

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[]