function prevIndeximport { prevIndex } from "https://dotland.deno.dev/x/rambda@9.4.1/files/index.d.ts"; prevIndex(index: number, list: any[]): numberParametersindex: numberlist: any[]Returnsnumber