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
itemsIReadOnlyList<T>frominttoint
Returns
- T[]
Type Parameters
T