array_rotate
Rotate an array by n positions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Comma-separated items | |
| positions | Yes | Positions to rotate (positive=right, negative=left) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rotated | Yes | ||
| original | Yes | ||
| positions | No |