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