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