Skip to main content
Module

x/rambda/rambda.js>addIndexRight

Faster and smaller alternative to Ramda
Go to Latest
function addIndexRight
import { addIndexRight } from "https://deno.land/x/rambda@v9.1.1/rambda.js";

Same as R.addIndex, but it will passed indexes are decreasing, instead of increasing.

Parameters

originalFn: any

Returns

(fn: any) => (list: any[]) => any[]

Parameters

originalFn: any

Returns

(fn: any, list: any[]) => any[]