moveAll
moveAll<
T>(from,to,options?):T[]
Defined in: src/modules/pile/pile-array.ts:30
Move every item of from onto the top of to, keeping their order unless
reverse is set. Both arrays change in place. Returns the moved items in the
order they were added.
With from === to, reverse flips the array in place.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”T[]
T[]
options?
Section titled “options?”MoveAllOptions = {}
Returns
Section titled “Returns”T[]