Rotates a list a number of times. It"s completly agnostic about the contents of the list.
the number of rotations
the rotated collection
rotate(1, [1, 2, 3]) // => [2, 3, 1] Copy
rotate(1, [1, 2, 3]) // => [2, 3, 1]
Rotates a list a number of times. It"s completly agnostic about the contents of the list.