Table of Contents

Method ArrayMove

Namespace
Velvet
Assembly
Velvet.Docs.dll

ArrayMove<T>(IReadOnlyList<T>, int, int)

Returns a copy of items with the item at from moved to to, dnd-kit's arrayMove. A negative to counts from the end.

public static T[] ArrayMove<T>(IReadOnlyList<T> items, int from, int to)

Parameters

items IReadOnlyList<T>
from int
to int

Returns

T[]

Type Parameters

T