UNPKG

data-forge

Version:

JavaScript data transformation and analysis toolkit inspired by Pandas and LINQ.

12 lines (11 loc) 414 B
/** * A predicate function, returns true or false based on input. */ export declare type PredicateFn<InputT> = (value: InputT) => boolean; export declare class SkipWhileIterator<T> implements Iterator<T> { childIterator: Iterator<T>; predicate: PredicateFn<T>; doneSkipping: boolean; constructor(childIterator: Iterator<T>, predicate: PredicateFn<T>); next(): IteratorResult<T>; }