moveItem
function moveItem<T>( items, from, to): T[];Defined in: packages/core/src/layout/rowOrder.ts:29
A copy of items with the element at from moved to to.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
T |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
items |
readonly T[] |
from |
number |
to |
number |
Returns
Section titled “Returns”T[]