Some of the Linq to Objects methods implemented
- select
- selectMany
- where
- orderBy
- thenBy
- distinct
- groupBy
- groupJoin
- join
- except
- union
- intersect
- take/takeWhile/takeUntil
- skip/skipWhile/skipUntil
Examples A simple example of breaking up a sequence of numbers into even and odd arrays: var list = $linq([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]); var evens = list.where(function (x) { return x % 2 == 0; }).toArray(); var odds = list.where("x => x % 2 == 1").toArray();