isc30 / linq-collections

Strongly typed Linq and Collections implementation for Javascript and TypeScript (ECMAScript 5)
https://www.npmjs.com/package/linq-collections
MIT License
119 stars 12 forks source link

SkipWhile #22

Closed isc30 closed 6 years ago

isc30 commented 6 years ago

SkipWhile will only skip those elements in list until predicate is true and after that, it will stop filtering.

Proposed signature:

export interface IQueryable<TOut>
{
    skipWhile(predicate: Predicate<TOut>): IEnumerable<TOut>;
}

Using deferred execution

nikolalukovic commented 6 years ago

I guess this can be closed now

isc30 commented 6 years ago

yep, good job