function insertimport { insert } from "https://dotland.deno.dev/x/rambda@9.4.1/immutable.d.ts"; insert(index: number): <T>(itemToInsert: T, list: readonly T[]) => readonly T[]insert<T>(index: number, itemToInsert: T): (list: readonly T[]) => readonly T[]insert<T>(index: number,itemToInsert: T,list: readonly T[],): readonly T[]Parametersindex: numberReturns<T>(itemToInsert: T, list: readonly T[]) => readonly T[]Type ParametersTParametersindex: numberitemToInsert: TReturns(list: readonly T[]) => readonly T[]Type ParametersTParametersindex: numberitemToInsert: Tlist: readonly T[]Returnsreadonly T[]