Skip to main content
Module

x/rambda/index.d.ts>addIndexRight

Faster and smaller alternative to Ramda
Latest
function addIndexRight
import { addIndexRight } from "https://deno.land/x/rambda@v9.2.0/index.d.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[]