function chainimport { chain } from "https://deno.land/x/rambda@9.3.0/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[]