iteragain
Version:
Javascript Iterable/Iterator/Generator-function utilities.
10 lines • 574 B
TypeScript
import type { IteratorOrIterable } from './types';
import type { UnzipResult } from './internal/unzipTypes';
/**
* The inverse of `zip` and `zipLongest`. This function disaggregates the elements of the input iterator. The nth
* iterator in the returned tuple contains the nth element of each value in the input iterator. The length of the
* returned tuple is determined by the length of the first value in the input iterator.
*/
export declare function unzip<Row>(arg: IteratorOrIterable<Row>): UnzipResult<Row>;
export default unzip;
//# sourceMappingURL=unzip.d.ts.map