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

x/rambda/index.d.ts>innerJoin

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

It returns a new list by applying a predicate function to all elements of list1 and list2 and keeping only these elements where predicate returns true.

Parameters

pred: (a: T1, b: T2) => boolean

Returns

(list1: T1[], list2: T2[]) => T1[]

Parameters

pred: (a: T1, b: T2) => boolean
list1: T1[]

Returns

(list2: T2[]) => T1[]

Parameters

pred: (a: T1, b: T2) => boolean
list1: T1[]
list2: T2[]