Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/files/index.d.ts>move

Faster and smaller alternative to Ramda
Go to Latest
function move
import { move } from "https://deno.land/x/rambda@v8.6.0/files/index.d.ts";

Parameters

fromIndex: number
toIndex: number
list: T[]

Parameters

fromIndex: number
toIndex: number

Returns

<T>(list: T[]) => T[]

Parameters

fromIndex: number

Returns

{ <T>(toIndex: number, list: T[]): T[]; (toIndex: number): <T>(list: T[]) => T[]; }