deno.land / x / rambda@v9.1.1 / source / addIndexRight.js

addIndexRight.js
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
import { addIndex } from './addIndex.js'
export function addIndexRight(originalFunction){ return addIndex( originalFunction, listLength => listLength - 1, x => x - 1 )}
rambda

Version Info

Tagged at
2 months ago