deno.land / x / rambda@v9.1.1 / source / move-spec.ts
12345678910111213141516171819202122import {move} from 'rambda'
const list = [1, 2, 3]
describe('R.move', () => { it('happy', () => { const result = move(0, 1, list)
result // $ExpectType number[] }) it('curried 1', () => { const result = move(0, 1)(list)
result // $ExpectType number[] }) it('curried 2', () => { const result = move(0)(1)(list)
result // $ExpectType number[] })})
Version Info