UNPKG

254 BTypeScriptView Raw
1declare module "@extra-array/rotate" {
2/**
3 * Rotates values in array.
4 * @param x an array
5 * @param n rotate amount (+ve: left, -ve: right)
6 */
7declare function rotate<T>(x: T[], n?: number): T[];
8export = rotate;
9//# sourceMappingURL=rotate.d.ts.map}