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