Module

x/rambda/mod.ts>addIndexRight

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