Skip to main content
Module

x/rambda/src/addIndexRight.js

Faster and smaller alternative to Ramda
Go to Latest
File
import { addIndex } from './addIndex.js'
export function addIndexRight(originalFunction){ return addIndex( originalFunction, listLength => listLength - 1, x => x - 1 )}