Skip to main content
Module

x/fae/mod.ts>addIndex

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

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

type

AddIndex