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

x/rambda/index.d.ts>chain

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

The method is also known as flatMap.

Parameters

fn: (n: T) => U[]
list: T[]

Parameters

fn: (n: T) => U[]

Returns

(list: T[]) => U[]