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