beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
ArrayRotate
Ops.Array.ArrayRotate
Namespace: Ops.Array
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


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
ArrayRotate example file:


Credits


Examples using ArrayRotate

Public Patches using ArrayRotate