UNPKG

302 BTypeScriptView Raw
1export declare class FilterIterator<T, V extends T = T> implements Iterator<T> {
2 private source;
3 private predicate;
4 constructor(source: Iterator<T>, predicate: ((element: T) => element is V) | ((element: T) => boolean));
5 next(): IteratorResult<V>;
6}
7//# sourceMappingURL=filter.d.ts.map
\No newline at end of file