<static> rotateLeft(array) → {any}
Moves the element from the start of the array to the end, shifting all items in the process.The "rotation" happens to the left. Before: [ A, B, C, D, E, F ]After: [ B, C, D, E, F, A ] See also Phaser.ArrayUtils.rotateRight
Parameters
Name Type Description array Array.<any> The array to rotate. The array is modified.
Returns
any - The rotated value.
Source code: utils/ArrayUtils.js (Line 217)