blinq
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Grouped
Iterable
constructor
_key
gen
key
__@iterator
aggregate
all
any
append
average
concat
count
default
IfEmpty
distinct
distinct
By
element
At
except
first
first
OrDefault
flatten
for
Each
full
Outer
Group
Join
full
Outer
Join
group
Adjacent
group
By
group
Join
intersect
is
Subset
Of
is
Superset
Of
join
last
last
OrDefault
left
Outer
Join
max
max
By
min
min
By
order
By
order
ByDescending
prepend
reverse
select
select
Many
sequence
Equal
single
single
OrDefault
skip
skip
While
sum
take
take
While
to
Array
to
Lookup
to
Map
to
Set
union
where
zip
zip
All
Type parameters
TKey
TValue
Hierarchy
WrapperIterable
<
TValue
>
GroupedIterable
Implements
Iterable
<
TValue
>
Index
Constructors
constructor
Properties
_key
gen
Accessors
key
Methods
__@iterator
aggregate
all
any
append
average
concat
count
default
IfEmpty
distinct
distinct
By
element
At
except
first
first
OrDefault
flatten
for
Each
full
Outer
Group
Join
full
Outer
Join
group
Adjacent
group
By
group
Join
intersect
is
Subset
Of
is
Superset
Of
join
last
last
OrDefault
left
Outer
Join
max
max
By
min
min
By
order
By
order
ByDescending
prepend
reverse
select
select
Many
sequence
Equal
single
single
OrDefault
skip
skip
While
sum
take
take
While
to
Array
to
Lookup
to
Map
to
Set
union
where
zip
zip
All
Constructors
constructor
new
Grouped
Iterable
(
key
:
TKey
, it
:
Iterable
<
TValue
>
)
:
GroupedIterable
Parameters
key:
TKey
it:
Iterable
<
TValue
>
Returns
GroupedIterable
Properties
Private
_key
_key
:
any
gen
gen
:
function
Type declaration
(
)
:
IterableIterator
<
TValue
>
Returns
IterableIterator
<
TValue
>
Accessors
key
key
:
Methods
__@iterator
__@iterator
(
)
:
IterableIterator
<
TValue
>
Returns
IterableIterator
<
TValue
>
aggregate
aggregate<TOut>
(
seed
:
TOut
, aggFunc
:
function
)
:
TOut
Type parameters
TOut
Parameters
seed:
TOut
aggFunc:
function
(
prev
:
TOut
, curr
:
TValue
, idx
:
number
)
:
TOut
Parameters
prev:
TOut
curr:
TValue
idx:
number
Returns
TOut
Returns
TOut
all
all<T>
(
this
:
Enumerable
<
T
>
, pred
:
IndexedPredicate
<
T
>
)
:
boolean
Type parameters
T
Parameters
this:
Enumerable
<
T
>
pred:
IndexedPredicate
<
T
>
Returns
boolean
any
any<T>
(
this
:
Enumerable
<
T
>
)
:
boolean
any<T>
(
this
:
Enumerable
<
T
>
, pred
:
IndexedPredicate
<
T
>
)
:
boolean
Type parameters
T
Parameters
this:
Enumerable
<
T
>
Returns
boolean
Type parameters
T
Parameters
this:
Enumerable
<
T
>
pred:
IndexedPredicate
<
T
>
Returns
boolean
append
append<T>
(
this
:
Enumerable
<
T
>
, item
:
T
)
:
Enumerable
<
T
>
Type parameters
T
Parameters
this:
Enumerable
<
T
>
item:
T
Returns
Enumerable
<
T
>
average
average<T>
(
this
:
Enumerable
<
number
>
)
:
number
Type parameters
T
Parameters
this:
Enumerable
<
number
>
Returns
number
concat
concat<T>
(
this
:
Enumerable
<
T
>
,
...
sequences
:
Array
<
Iterable
<
T
>
>
)
:
Enumerable
<
T
>
Type parameters
T
Parameters
this:
Enumerable
<
T
>
Rest
...
sequences:
Array
<
Iterable
<
T
>
>
Returns
Enumerable
<
T
>
count
count<T>
(
this
:
Enumerable
<
T
>
)
:
number
count<T>
(
this
:
Enumerable
<
T
>
, pred
:
IndexedPredicate
<
T
>
)
:
number
Type parameters
T
Parameters
this:
Enumerable
<
T
>
Returns
number
Type parameters
T
Parameters
this:
Enumerable
<
T
>
pred:
IndexedPredicate
<
T
>
Returns
number
default
IfEmpty
default
IfEmpty<T>
(
this
:
Enumerable
<
T
>
)
:
Enumerable
<
T
|
undefined
>
Type parameters
T
Parameters
this:
Enumerable
<
T
>
Returns
Enumerable
<
T
|
undefined
>
distinct
distinct<T>
(
this
:
Enumerable
<
T
>
, equalityComparer
?:
EqualityComparer
<
T
>
)
:
Enumerable
<
T
>
Type parameters
T
Parameters
this:
Enumerable
<
T
>
Optional
equalityComparer:
EqualityComparer
<
T
>
Returns
Enumerable
<
T
>
distinct
By
distinct
By<T, TKey>
(
this
:
Enumerable
<
T
>
, selector
:
IndexedSelector
<
T
,
TKey
>
, equalityComparer
?:
EqualityComparer
<
TKey
>
)
:
Enumerable
<
T
>
Type parameters
T
TKey
Parameters
this:
Enumerable
<
T
>
selector:
IndexedSelector
<
T
,
TKey
>
Optional
equalityComparer:
EqualityComparer
<
TKey
>
Returns
Enumerable
<
T
>
element
At
element
At<T>
(
this
:
Enumerable
<
T
>
, index
:
number
)
:
T
Type parameters
T
Parameters
this:
Enumerable
<
T
>
index:
number
Returns
T
except
except<T>
(
this
:
Enumerable
<
T
>
, seq
:
Iterable
<
T
>
, equalityComparer
?:
EqualityComparer
<
T
>
)
:
Enumerable
<
T
>
Type parameters
T
Parameters
this:
Enumerable
<
T
>
seq:
Iterable
<
T
>
Optional
equalityComparer:
EqualityComparer
<
T
>
Returns
Enumerable
<
T
>
first
first<T>
(
this
:
Enumerable
<
T
>
)
:
T
first<T>
(
this
:
Enumerable
<
T
>
, pred
:
IndexedPredicate
<
T
>
)
:
T
Type parameters
T
Parameters
this:
Enumerable
<
T
>
Returns
T
Type parameters
T
Parameters
this:
Enumerable
<
T
>
pred:
IndexedPredicate
<
T
>
Returns
T
first
OrDefault
first
OrDefault
(
this
:
Enumerable
<
TValue
>
)
:
TValue
|
undefined
first
OrDefault
(
this
:
Enumerable
<
TValue
>
, pred
:
IndexedPredicate
<
TValue
>
)
:
TValue
|
undefined
Parameters
this:
Enumerable
<
TValue
>
Returns
TValue
|
undefined
Parameters
this:
Enumerable
<
TValue
>
pred:
IndexedPredicate
<
TValue
>
Returns
TValue
|
undefined
flatten
flatten<TT>
(
this
:
Enumerable
<
Enumerable
<
TT
>
>
)
:
Enumerable
<
TValue
>
Type parameters
TT
Parameters
this:
Enumerable
<
Enumerable
<
TT
>
>
Returns
Enumerable
<
TValue
>
for
Each
for
Each<T>
(
this
:
Enumerable
<
T
>
, action
:
function
)
:
void
Type parameters
T
Parameters
this:
Enumerable
<
T
>
action:
function
(
x
:
T
, i
:
number
)
:
void
Parameters
x:
T
i:
number
Returns
void
Returns
void
full
Outer
Group
Join
full
Outer
Group
Join<T, TRight, TKey, TOut>
(
this
:
Enumerable
<
T
>
, rightSeq
:
Iterable
<
TRight
>
, leftKeySelector
:
IndexedSelector
<
T
,
TKey
>
, rightKeySelector
:
IndexedSelector
<
TRight
,
TKey
>
, selector
:
function
, equalityComparer
?:
EqualityComparer
<
TKey
>
)
:
Enumerable
<
TOut
>
Type parameters
T
TRight
TKey
TOut
Parameters
this:
Enumerable
<
T
>
rightSeq:
Iterable
<
TRight
>
leftKeySelector:
IndexedSelector
<
T
,
TKey
>
rightKeySelector:
IndexedSelector
<
TRight
,
TKey
>
selector:
function
(
o
:
Enumerable
<
T
>
, v
:
Enumerable
<
TRight
>
, k
:
TKey
)
:
TOut
Parameters
o:
Enumerable
<
T
>
v:
Enumerable
<
TRight
>
k:
TKey
Returns
TOut
Optional
equalityComparer:
EqualityComparer
<
TKey
>
Returns
Enumerable
<
TOut
>
full
Outer
Join
full
Outer
Join<TRight, TKey, TOut>
(
this
:
Enumerable
<
TValue
>
, rightSeq
:
Iterable
<
TRight
>
, leftKeySelector
:
IndexedSelector
<
TValue
,
TKey
>
, rightKeySelector
:
IndexedSelector
<
TRight
,
TKey
>
, selector
:
function
, equalityComparer
?:
EqualityComparer
<
TKey
>
)
:
Enumerable
<
TOut
>
Type parameters
TRight
TKey
TOut
Parameters
this:
Enumerable
<
TValue
>
rightSeq:
Iterable
<
TRight
>
leftKeySelector:
IndexedSelector
<
TValue
,
TKey
>
rightKeySelector:
IndexedSelector
<
TRight
,
TKey
>
selector:
function
(
o
:
TValue
|
undefined
, v
:
TRight
|
undefined
, k
:
TKey
)
:
TOut
Parameters
o:
TValue
|
undefined
v:
TRight
|
undefined
k:
TKey
Returns
TOut
Optional
equalityComparer:
EqualityComparer
<
TKey
>
Returns
Enumerable
<
TOut
>
group
Adjacent
group
Adjacent<TSource, TKey, TElement, TResult>
(
this
:
Enumerable
<
TSource
>
, keySelector
:
IndexedSelector
<
TSource
,
TKey
>
, elementSelector
:
IndexedSelector
<
TSource
,
TElement
>
, resultSelector
:
function
, equalityComparer
?:
EqualityComparer
<
TKey
>
)
:
Enumerable
<
TResult
>
Type parameters
TSource
TKey
TElement
TResult
Parameters
this:
Enumerable
<
TSource
>
keySelector:
IndexedSelector
<
TSource
,
TKey
>
elementSelector:
IndexedSelector
<
TSource
,
TElement
>
resultSelector:
function
(
key
:
TKey
, items
:
Enumerable
<
TElement
>
)
:
TResult
Parameters
key:
TKey
items:
Enumerable
<
TElement
>
Returns
TResult
Optional
equalityComparer:
EqualityComparer
<
TKey
>
Returns
Enumerable
<
TResult
>
group
By
group
By<TKey>
(
this
:
Enumerable
<
TValue
>
, keySelector
:
IndexedSelector
<
TValue
,
TKey
>
, equalityComparer
?:
EqualityComparer
<
TKey
>
)
:
Enumerable
<
GroupedIterable
<
TKey
,
TValue
>
>
Type parameters
TKey
Parameters
this:
Enumerable
<
TValue
>
keySelector:
IndexedSelector
<
TValue
,
TKey
>
Optional
equalityComparer:
EqualityComparer
<
TKey
>
Returns
Enumerable
<
GroupedIterable
<
TKey
,
TValue
>
>
group
Join
group
Join<T, TInner, TKey, TOut>
(
this
:
Enumerable
<
T
>
, innerSeq
:
Iterable
<
TInner
>
, outerKeySelector
:
IndexedSelector
<
T
,
TKey
>
, innerKeySelector
:
IndexedSelector
<
TInner
,
TKey
>
, selector
:
function
, equalityComparer
?:
EqualityComparer
<
TKey
>
)
:
Enumerable
<
TOut
>
Type parameters
T
TInner
TKey
TOut
Parameters
this:
Enumerable
<
T
>
innerSeq:
Iterable
<
TInner
>
outerKeySelector:
IndexedSelector
<
T
,
TKey
>
innerKeySelector:
IndexedSelector
<
TInner
,
TKey
>
selector:
function
(
o
:
T
, v
:
Enumerable
<
TInner
>
)
:
TOut
Parameters
o:
T
v:
Enumerable
<
TInner
>
Returns
TOut
Optional
equalityComparer:
EqualityComparer
<
TKey
>
Returns
Enumerable
<
TOut
>
intersect
intersect<T>
(
this
:
Enumerable
<
T
>
, seq
:
Iterable
<
T
>
, equalityComparer
?:
EqualityComparer
<
T
>
)
:
Enumerable
<
T
>
Type parameters
T
Parameters
this:
Enumerable
<
T
>
seq:
Iterable
<
T
>
Optional
equalityComparer:
EqualityComparer
<
T
>
Returns
Enumerable
<
T
>
is
Subset
Of
is
Subset
Of<T>
(
this
:
Enumerable
<
T
>
, seq
:
Iterable
<
T
>
, equalityComparer
?:
EqualityComparer
<
T
>
)
:
boolean
Type parameters
T
Parameters
this:
Enumerable
<
T
>
seq:
Iterable
<
T
>
Optional
equalityComparer:
EqualityComparer
<
T
>
Returns
boolean
is
Superset
Of
is
Superset
Of<T>
(
this
:
Enumerable
<
T
>
, seq
:
Iterable
<
T
>
, equalityComparer
?:
EqualityComparer
<
T
>
)
:
boolean
Type parameters
T
Parameters
this:
Enumerable
<
T
>
seq:
Iterable
<
T
>
Optional
equalityComparer:
EqualityComparer
<
T
>
Returns
boolean
join
join<T, TInner, TKey, TOut>
(
this
:
Enumerable
<
T
>
, innerSeq
:
Iterable
<
TInner
>
, outerKeySelector
:
IndexedSelector
<
T
,
TKey
>
, innerKeySelector
:
IndexedSelector
<
TInner
,
TKey
>
, selector
:
function
, equalityComparer
?:
EqualityComparer
<
TKey
>
)
:
Enumerable
<
TOut
>
Type parameters
T
TInner
TKey
TOut
Parameters
this:
Enumerable
<
T
>
innerSeq:
Iterable
<
TInner
>
outerKeySelector:
IndexedSelector
<
T
,
TKey
>
innerKeySelector:
IndexedSelector
<
TInner
,
TKey
>
selector:
function
(
outer
:
T
, inner
:
TInner
)
:
TOut
Parameters
outer:
T
inner:
TInner
Returns
TOut
Optional
equalityComparer:
EqualityComparer
<
TKey
>
Returns
Enumerable
<
TOut
>
last
last<T>
(
this
:
Enumerable
<
T
>
)
:
T
last<T>
(
this
:
Enumerable
<
T
>
, pred
:
IndexedPredicate
<
T
>
)
:
T
Type parameters
T
Parameters
this:
Enumerable
<
T
>
Returns
T
Type parameters
T
Parameters
this:
Enumerable
<
T
>
pred:
IndexedPredicate
<
T
>
Returns
T
last
OrDefault
last
OrDefault<T>
(
this
:
Enumerable
<
T
>
)
:
T
|
undefined
last
OrDefault<T>
(
this
:
Enumerable
<
T
>
, pred
:
IndexedPredicate
<
T
>
)
:
T
|
undefined
Type parameters
T
Parameters
this:
Enumerable
<
T
>
Returns
T
|
undefined
Type parameters
T
Parameters
this:
Enumerable
<
T
>
pred:
IndexedPredicate
<
T
>
Returns
T
|
undefined
left
Outer
Join
left
Outer
Join<T, TInner, TKey, TOut>
(
this
:
Enumerable
<
T
>
, innerSeq
:
Iterable
<
TInner
>
, outerKeySelector
:
IndexedSelector
<
T
,
TKey
>
, innerKeySelector
:
IndexedSelector
<
TInner
,
TKey
>
, selector
:
function
, equalityComparer
?:
EqualityComparer
<
TKey
>
)
:
Enumerable
<
TOut
>
Type parameters
T
TInner
TKey
TOut
Parameters
this:
Enumerable
<
T
>
innerSeq:
Iterable
<
TInner
>
outerKeySelector:
IndexedSelector
<
T
,
TKey
>
innerKeySelector:
IndexedSelector
<
TInner
,
TKey
>
selector:
function
(
outer
:
T
, inner
:
TInner
|
undefined
)
:
TOut
Parameters
outer:
T
inner:
TInner
|
undefined
Returns
TOut
Optional
equalityComparer:
EqualityComparer
<
TKey
>
Returns
Enumerable
<
TOut
>
max
max
(
)
:
TValue
|
undefined
max<TOut>
(
selector
:
IndexedSelector
<
TValue
,
TOut
>
)
:
TOut
|
undefined
max<TOut>
(
selector
:
IndexedSelector
<
TValue
,
TOut
>
, comparer
:
Comparer
<
TOut
>
)
:
TOut
|
undefined
max<TOut>
(
this
:
Enumerable
<
TValue
>
, selector
:
IndexedSelector
<
TValue
,
TValue
|
TOut
>
, comparer
:
Comparer
<
TValue
|
TOut
>
)
:
TValue
|
TOut
|
undefined
Returns
TValue
|
undefined
Type parameters
TOut
Parameters
selector:
IndexedSelector
<
TValue
,
TOut
>
Returns
TOut
|
undefined
Type parameters
TOut
Parameters
selector:
IndexedSelector
<
TValue
,
TOut
>
comparer:
Comparer
<
TOut
>
Returns
TOut
|
undefined
Type parameters
TOut
Parameters
this:
Enumerable
<
TValue
>
selector:
IndexedSelector
<
TValue
,
TValue
|
TOut
>
comparer:
Comparer
<
TValue
|
TOut
>
Returns
TValue
|
TOut
|
undefined
max
By
max
By<T, TKey>
(
this
:
Enumerable
<
T
>
, selector
:
IndexedSelector
<
T
,
TKey
>
)
:
Enumerable
<
T
>
max
By<T, TKey>
(
this
:
Enumerable
<
T
>
, selector
:
IndexedSelector
<
T
,
TKey
>
, comparer
:
Comparer
<
TKey
>
)
:
Enumerable
<
T
>
Type parameters
T
TKey
Parameters
this:
Enumerable
<
T
>
selector:
IndexedSelector
<
T
,
TKey
>
Returns
Enumerable
<
T
>
Type parameters
T
TKey
Parameters
this:
Enumerable
<
T
>
selector:
IndexedSelector
<
T
,
TKey
>
comparer:
Comparer
<
TKey
>
Returns
Enumerable
<
T
>
min
min
(
)
:
TValue
|
undefined
min<TOut>
(
selector
:
IndexedSelector
<
TValue
,
TOut
>
)
:
TOut
|
undefined
min<TOut>
(
selector
:
IndexedSelector
<
TValue
,
TOut
>
, comparer
:
Comparer
<
TOut
>
)
:
TOut
|
undefined
min<TOut>
(
this
:
Enumerable
<
TValue
>
, selector
:
IndexedSelector
<
TValue
,
TValue
|
TOut
>
, comparer
:
Comparer
<
TValue
|
TOut
>
)
:
TValue
|
TOut
|
undefined
Returns
TValue
|
undefined
Type parameters
TOut
Parameters
selector:
IndexedSelector
<
TValue
,
TOut
>
Returns
TOut
|
undefined
Type parameters
TOut
Parameters
selector:
IndexedSelector
<
TValue
,
TOut
>
comparer:
Comparer
<
TOut
>
Returns
TOut
|
undefined
Type parameters
TOut
Parameters
this:
Enumerable
<
TValue
>
selector:
IndexedSelector
<
TValue
,
TValue
|
TOut
>
comparer:
Comparer
<
TValue
|
TOut
>
Returns
TValue
|
TOut
|
undefined
min
By
min
By<T, TKey>
(
this
:
Enumerable
<
T
>
, selector
:
IndexedSelector
<
T
,
TKey
>
)
:
Enumerable
<
T
>
min
By<T, TKey>
(
this
:
Enumerable
<
T
>
, selector
:
IndexedSelector
<
T
,
TKey
>
, comparer
:
Comparer
<
TKey
>
)
:
Enumerable
<
T
>
Type parameters
T
TKey
Parameters
this:
Enumerable
<
T
>
selector:
IndexedSelector
<
T
,
TKey
>
Returns
Enumerable
<
T
>
Type parameters
T
TKey
Parameters
this:
Enumerable
<
T
>
selector:
IndexedSelector
<
T
,
TKey
>
comparer:
Comparer
<
TKey
>
Returns
Enumerable
<
T
>
order
By
order
By<TCmp>
(
this
:
Enumerable
<
TValue
>
, selector
:
function
)
:
OrderedIterable
<
TValue
>
Type parameters
TCmp
Parameters
this:
Enumerable
<
TValue
>
selector:
function
(
x
:
TValue
)
:
TCmp
Parameters
x:
TValue
Returns
TCmp
Returns
OrderedIterable
<
TValue
>
order
ByDescending
order
ByDescending<TCmp>
(
this
:
Enumerable
<
TValue
>
, selector
:
function
)
:
OrderedIterable
<
TValue
>
Type parameters
TCmp
Parameters
this:
Enumerable
<
TValue
>
selector:
function
(
x
:
TValue
)
:
TCmp
Parameters
x:
TValue
Returns
TCmp
Returns
OrderedIterable
<
TValue
>
prepend
prepend<T>
(
this
:
Enumerable
<
T
>
, item
:
T
)
:
Enumerable
<
T
>
Type parameters
T
Parameters
this:
Enumerable
<
T
>
item:
T
Returns
Enumerable
<
T
>
reverse
reverse<T>
(
this
:
Enumerable
<
T
>
)
:
Enumerable
<
T
>
Type parameters
T
Parameters
this:
Enumerable
<
T
>
Returns
Enumerable
<
T
>
select
select<T, TOut>
(
this
:
Enumerable
<
T
>
, selector
:
IndexedSelector
<
T
,
TOut
>
)
:
Enumerable
<
TOut
>
Type parameters
T
TOut
Parameters
this:
Enumerable
<
T
>
selector:
IndexedSelector
<
T
,
TOut
>
Returns
Enumerable
<
TOut
>
select
Many
select
Many<T, TOut>
(
this
:
Enumerable
<
T
>
, selector
:
IndexedSelector
<
T
,
Iterable
<
TOut
>
>
)
:
Enumerable
<
TOut
>
Type parameters
T
TOut
Parameters
this:
Enumerable
<
T
>
selector:
IndexedSelector
<
T
,
Iterable
<
TOut
>
>
Returns
Enumerable
<
TOut
>
sequence
Equal
sequence
Equal<T>
(
this
:
Enumerable
<
T
>
, seq
:
Iterable
<
T
>
, equalityComparer
?:
EqualityComparer
<
T
>
)
:
boolean
Type parameters
T
Parameters
this:
Enumerable
<
T
>
seq:
Iterable
<
T
>
Optional
equalityComparer:
EqualityComparer
<
T
>
Returns
boolean
single
single<T>
(
this
:
Enumerable
<
T
>
)
:
T
single<T>
(
this
:
Enumerable
<
T
>
, pred
:
IndexedPredicate
<
T
>
)
:
T
Type parameters
T
Parameters
this:
Enumerable
<
T
>
Returns
T
Type parameters
T
Parameters
this:
Enumerable
<
T
>
pred:
IndexedPredicate
<
T
>
Returns
T
single
OrDefault
single
OrDefault<T>
(
this
:
Enumerable
<
T
>
)
:
T
|
undefined
single
OrDefault<T>
(
this
:
Enumerable
<
T
>
, pred
:
IndexedPredicate
<
T
>
)
:
T
|
undefined
Type parameters
T
Parameters
this:
Enumerable
<
T
>
Returns
T
|
undefined
Type parameters
T
Parameters
this:
Enumerable
<
T
>
pred:
IndexedPredicate
<
T
>
Returns
T
|
undefined
skip
skip<T>
(
this
:
Enumerable
<
T
>
, numItems
:
number
)
:
Enumerable
<
T
>
Type parameters
T
Parameters
this:
Enumerable
<
T
>
numItems:
number
Returns
Enumerable
<
T
>
skip
While
skip
While<T>
(
this
:
Enumerable
<
T
>
, pred
:
IndexedPredicate
<
T
>
)
:
Enumerable
<
T
>
Type parameters
T
Parameters
this:
Enumerable
<
T
>
pred:
IndexedPredicate
<
T
>
Returns
Enumerable
<
T
>
sum
sum
(
this
:
Enumerable
<
number
>
)
:
number
Parameters
this:
Enumerable
<
number
>
Returns
number
take
take<T>
(
this
:
Enumerable
<
T
>
, numItems
:
number
)
:
Enumerable
<
T
>
Type parameters
T
Parameters
this:
Enumerable
<
T
>
numItems:
number
Returns
Enumerable
<
T
>
take
While
take
While<T>
(
this
:
Enumerable
<
T
>
, pred
:
IndexedPredicate
<
T
>
)
:
Enumerable
<
T
>
Type parameters
T
Parameters
this:
Enumerable
<
T
>
pred:
IndexedPredicate
<
T
>
Returns
Enumerable
<
T
>
to
Array
to
Array<T>
(
this
:
Enumerable
<
T
>
)
:
T
[]
Type parameters
T
Parameters
this:
Enumerable
<
T
>
Returns
T
[]
to
Lookup
to
Lookup<T, TKey>
(
this
:
Enumerable
<
T
>
, keySelector
:
IndexedSelector
<
T
,
TKey
>
, equalityComparer
?:
EqualityComparer
<
TKey
>
)
:
MapIterable
<
TKey
,
Enumerable
<
T
>
>
to
Lookup<T, TKey, TValue>
(
this
:
Enumerable
<
T
>
, keySelector
:
IndexedSelector
<
T
,
TKey
>
, valueSelector
:
IndexedSelector
<
T
,
TValue
>
, equalityComparer
?:
EqualityComparer
<
TKey
>
)
:
MapIterable
<
TKey
,
Enumerable
<
TValue
>
>
Type parameters
T
TKey
Parameters
this:
Enumerable
<
T
>
keySelector:
IndexedSelector
<
T
,
TKey
>
Optional
equalityComparer:
EqualityComparer
<
TKey
>
Returns
MapIterable
<
TKey
,
Enumerable
<
T
>
>
Type parameters
T
TKey
TValue
Parameters
this:
Enumerable
<
T
>
keySelector:
IndexedSelector
<
T
,
TKey
>
valueSelector:
IndexedSelector
<
T
,
TValue
>
Optional
equalityComparer:
EqualityComparer
<
TKey
>
Returns
MapIterable
<
TKey
,
Enumerable
<
TValue
>
>
to
Map
to
Map<T, TKey>
(
this
:
Enumerable
<
T
>
, keySelector
:
IndexedSelector
<
T
,
TKey
>
, equalityComparer
?:
EqualityComparer
<
TKey
>
)
:
MapIterable
<
TKey
,
T
>
to
Map<T, TKey, TValue>
(
this
:
Enumerable
<
T
>
, keySelector
:
IndexedSelector
<
T
,
TKey
>
, valueSelector
:
IndexedSelector
<
T
,
TValue
>
, equalityComparer
?:
EqualityComparer
<
TKey
>
)
:
MapIterable
<
TKey
,
TValue
>
Type parameters
T
TKey
Parameters
this:
Enumerable
<
T
>
keySelector:
IndexedSelector
<
T
,
TKey
>
Optional
equalityComparer:
EqualityComparer
<
TKey
>
Returns
MapIterable
<
TKey
,
T
>
Type parameters
T
TKey
TValue
Parameters
this:
Enumerable
<
T
>
keySelector:
IndexedSelector
<
T
,
TKey
>
valueSelector:
IndexedSelector
<
T
,
TValue
>
Optional
equalityComparer:
EqualityComparer
<
TKey
>
Returns
MapIterable
<
TKey
,
TValue
>
to
Set
to
Set<T>
(
this
:
Enumerable
<
T
>
, equalityComparer
?:
EqualityComparer
<
T
>
)
:
SetIterable
<
T
>
to
Set<T, TKey>
(
this
:
Enumerable
<
T
>
, keySelector
:
IndexedSelector
<
T
,
TKey
>
, equalityComparer
?:
EqualityComparer
<
TKey
>
)
:
SetIterable
<
TKey
>
Type parameters
T
Parameters
this:
Enumerable
<
T
>
Optional
equalityComparer:
EqualityComparer
<
T
>
Returns
SetIterable
<
T
>
Type parameters
T
TKey
Parameters
this:
Enumerable
<
T
>
keySelector:
IndexedSelector
<
T
,
TKey
>
Optional
equalityComparer:
EqualityComparer
<
TKey
>
Returns
SetIterable
<
TKey
>
union
union<T>
(
this
:
Enumerable
<
T
>
, seq
:
Iterable
<
T
>
, equalityComparer
?:
EqualityComparer
<
T
>
)
:
Enumerable
<
T
>
Type parameters
T
Parameters
this:
Enumerable
<
T
>
seq:
Iterable
<
T
>
Optional
equalityComparer:
EqualityComparer
<
T
>
Returns
Enumerable
<
T
>
where
where<T>
(
this
:
Enumerable
<
T
>
, pred
:
IndexedPredicate
<
T
>
)
:
Enumerable
<
T
>
Type parameters
T
Parameters
this:
Enumerable
<
T
>
pred:
IndexedPredicate
<
T
>
Returns
Enumerable
<
T
>
zip
zip<T, TOther, TOut>
(
this
:
Enumerable
<
T
>
, seq
:
Iterable
<
TOther
>
, selector
:
function
)
:
Enumerable
<
TOut
>
Type parameters
T
TOther
TOut
Parameters
this:
Enumerable
<
T
>
seq:
Iterable
<
TOther
>
selector:
function
(
item1
:
T
, item2
:
TOther
)
:
TOut
Parameters
item1:
T
item2:
TOther
Returns
TOut
Returns
Enumerable
<
TOut
>
zip
All
zip
All<TT>
(
this
:
Enumerable
<
Enumerable
<
TT
>
>
)
:
Enumerable
<
Enumerable
<
TT
>
>
Type parameters
TT
Parameters
this:
Enumerable
<
Enumerable
<
TT
>
>
Returns
Enumerable
<
Enumerable
<
TT
>
>
Generated using
TypeDoc