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

x/rambda/mod.ts>addIndexRight

Faster and smaller alternative to Ramda
Latest
function addIndexRight
import { addIndexRight } from "https://deno.land/x/rambda@9.3.0/mod.ts";

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[]