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

DistinctBy (Distinct overload with selector) #5

Closed isc30 closed 7 years ago

isc30 commented 7 years ago

Adding it as overload of distinct

distinct(): IEnumerable<TOut>;
distinct<TKey>(keySelector: Selector<TOut, TKey>): IEnumerable<TOut>;