Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rambda/immutable.d.ts>chain

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

The method is also known as flatMap.

Parameters

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

Returns

readonly U[]

Parameters

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

Returns

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