Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fae/addIndex.ts

A functional module for Deno inspired from Ramda.
Latest
import * as fae from "https://deno.land/x/fae@v1.1.1/addIndex.ts";

Variables

Returns a new iteration function from the passed function by adding two more parameters to its callback function

  1. the current index
  2. the entire list The passed function must have first argument as the iteration functions and last arguments as the list