UNPKG

@extra-array/rotate

Version:
10 lines (9 loc) 254 B
declare module "@extra-array/rotate" { /** * Rotates values in array. * @param x an array * @param n rotate amount (+ve: left, -ve: right) */ declare function rotate<T>(x: T[], n?: number): T[]; export = rotate; //# sourceMappingURL=rotate.d.ts.map}