function prevIndeximport { prevIndex } from "https://deno.land/x/rambda@v7.0.1/source/prevIndex.js"; prevIndex(index, list)Parametersindexlist