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

RotateArray Op



RotateArray
Namespace: Ops.Array

Op author: andro

Shift array contents based upon rotate amount


An array of
[0,1,2,3,4]
rotated by 2 will result in
[2,3,4,0,1]



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 Documentation 

ArrayRotate example file


Patches using RotateArray

  • Examples (1)
  • Public
  • My Patches

Changelog


Ops.Array.ArrayRotate renamed to Ops.Array.RotateArray
2019-09-05 - pandur