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