Accessors
Protected source
- get source(): Iterable<T>
Methods
aggregate
- aggregate(func: function): T
aggregate2
- aggregate2(seed: T, func: function): T
all
- all(predicate?: function, __this?: any): boolean
-
Parameters
-
Optional predicate: function
-
-
Parameters
Returns boolean
-
Optional __this: any
Returns boolean
any
- any(predicate?: function, __this?: any): boolean
-
Parameters
-
Optional predicate: function
-
-
Parameters
Returns boolean
-
Optional __this: any
Returns boolean
average
- average(selector?: function): number
-
Parameters
-
Optional selector: function
-
-
Parameters
Returns number
Returns number
contains
- contains(item: T): boolean
-
Parameters
Returns boolean
count2
- count2(selector?: function, __this?: any): number
-
Parameters
-
Optional selector: function
-
-
Parameters
Returns boolean
-
Optional __this: any
Returns number
first
- first(selector?: function, __this?: any): T
-
Parameters
-
Optional selector: function
-
-
Parameters
Returns boolean
-
Optional __this: any
Returns T
firstOrDefault
- firstOrDefault(predicate?: function): T
-
Parameters
-
Optional predicate: function
-
-
Parameters
Returns boolean
Returns T
fullOuterJoin
- fullOuterJoin<K, V, Z>(inner: Iterable<V>, outerKeySelector: function, innerKeySelector: function, resultSelector: function, __this?: any): LinqHelper<Z>
-
Type parameters
Parameters
-
inner: Iterable<V>
-
outerKeySelector: function
-
innerKeySelector: function
-
resultSelector: function
-
- (value1: T, value2: V): Z
-
Optional __this: any
groupBy
-
Type parameters
Parameters
-
keySelector: function
-
-
Optional __this: any
groupJoin
- groupJoin<U, K, V>(inner: Iterable<U>, outerKeySelector: function, innerKeySelector: function, resultSelector: function, __this?: any): LinqHelper<V>
-
Type parameters
Parameters
-
inner: Iterable<U>
-
outerKeySelector: function
-
innerKeySelector: function
-
resultSelector: function
-
- (value1: T, value2: List<U>): V
-
Parameters
-
value1: T
-
value2: List<U>
Returns V
-
Optional __this: any
join2
- join2<U, K, V>(inner: Iterable<U>, outerKeySelector: function, innerKeySelector: function, resultSelector: function, __this?: any): LinqHelper<V>
-
Type parameters
Parameters
-
inner: Iterable<U>
-
outerKeySelector: function
-
innerKeySelector: function
-
resultSelector: function
-
- (value1: T, value2: U): V
-
Optional __this: any
max
- max<S>(selector?: function): S
-
Type parameters
Parameters
-
Optional selector: function
Returns S
min
- min<S>(selector?: function): S
-
Type parameters
Parameters
-
Optional selector: function
Returns S
orderBy
-
Type parameters
Parameters
-
keySelector: function
-
Optional comparer: IComparer<K>
orderByDescending
-
Type parameters
Parameters
-
keySelector: function
-
Optional comparer: IComparer<K>
select
- select<S>(selector: function, __this?: any): LinqHelper<S>
-
Type parameters
Parameters
-
selector: function
-
Optional __this: any
selectMany
- selectMany<S>(selector: function, __this?: any): LinqHelper<S>
-
Type parameters
Parameters
-
selector: function
-
-
Parameters
Returns List<S>
-
Optional __this: any
selectMany2
- selectMany2<C, V>(collectionSelector: function, resultSelector: function, __this?: any): LinqHelper<V>
-
Type parameters
Parameters
-
collectionSelector: function
-
-
Parameters
Returns List<C>
-
resultSelector: function
-
- (value1: T, value2: C): V
-
Optional __this: any
sequenceEqual
- sequenceEqual(second: Iterable<T>): boolean
-
Parameters
Returns boolean
sum
- sum(selector?: function): number
-
Parameters
-
Optional selector: function
-
-
Parameters
Returns number
Returns number
toDictionary
- toDictionary<K, V>(keySelector: function, elementSelector: function): Dictionary<K, V>
-
Type parameters
Parameters
-
keySelector: function
-
elementSelector: function
toLookup
- toLookup<K>(keySelector: function, __this?: any): Hashtable
-
Type parameters
Parameters
-
keySelector: function
-
Optional __this: any
where
- where(predicate: function, __this?: any): LinqHelper<T>
-
Parameters
-
predicate: function
-
- (value: T, index: number): boolean
-
Parameters
Returns boolean
-
Optional __this: any
zip
- zip<S, R>(second: Iterable<S>, resultSelector: function): LinqHelper<R>
-
Type parameters
Parameters
-
second: Iterable<S>
-
resultSelector: function
Static repeat
- repeat<T>(element: T, count: number): LinqHelper<T>
-
Type parameters
Parameters