Module

x/rambda/mod.ts>addIndexRight

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