UNPKG

@extra-array/split-at

Version:

Breaks iterable considering indices as separator.

10 lines (9 loc) 276 B
declare module "@extra-array/split-at" { /** * Breaks iterable considering indices as separator. * @param x an array * @param is indices (sorted) */ declare function splitAt<T>(x: Iterable<T>, is: number[]): T[][]; export = splitAt; //# sourceMappingURL=splitAt.d.ts.map}