Shift array contents based upon rotate amount
summary (oneliner)
An array of
[0,1,2,3,4]
rotated by 2 will result in
[2,3,4,0,1]
doc
issues
example patch id
youtube ids (comma seperated)
caniuse query
collections
Inputs
Array in (Array)
Array in to modify
Rotate amount (integer /Number)
Rotates array contents - accepts negative and positive numbers
Outputs
ArrayOut (Array)
The modified array out
Patches using RotateArray
Changelog
Ops.Array.ArrayRotate renamed to Ops.Array.RotateArray 2019-09-05 - pandur |