Repository URL to install this package:
Version:
1.2.7 ▾
|
declare class IteratorWrap<Value> implements Iterator<Value> {
index: number;
array: Array<Value>;
constructor(array: Array<Value>);
hasNext(): boolean;
next(): IteratorResult<Value>;
remove(): void;
}
declare function toIterator<Value>(x: Array<Value> | Value): Iterator<Value> | IterableIterator<[string, Value]>;
export { IteratorWrap };
export { toIterator };