Skip to main content
Module

x/rambda/index.d.ts>innerJoin

Faster and smaller alternative to Ramda
Latest
function innerJoin
import { innerJoin } from "https://deno.land/x/rambda@v9.2.0/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[]