function flattenimport { flatten } from "https://dotland.deno.dev/x/rambda@9.4.1/immutable.d.ts"; flatten<T>(list: readonly any[]): readonly T[]It deeply flattens an array. It deeply flattens an array. Type ParametersTParameterslist: readonly any[]Returnsreadonly T[]