function chainimport { chain } from "https://deno.land/x/rambda@9.4.1/mod.ts"; chain<T, U>(fn: (n: T) => U[], list: T[]): U[]The method is also known as flatMap. chain<T, U>(fn: (n: T) => U[]): (list: T[]) => U[]The method is also known as flatMap. Type ParametersTUParametersfn: (n: T) => U[]list: T[]ReturnsU[]Type ParametersTUParametersfn: (n: T) => U[]Returns(list: T[]) => U[]