beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Ops.Array.ArrayRotate

ArrayRotate
op id:e435d07b-8545-4469-befb-868510adcb76
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

youtube id

collections

related ops

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


ArrayRotate example file:


Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using ArrayRotate

Public Patches using ArrayRotate