blinq
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Map
Iterable
constructor
_underlying
Map
gen
__@iterator
aggregate
all
any
append
average
concat
convert
ToObject
count
default
IfEmpty
distinct
distinct
By
element
At
entries
except
first
first
OrDefault
flatten
for
Each
full
Outer
Group
Join
full
Outer
Join
get
group
Adjacent
group
By
group
Join
has
intersect
is
Subset
Of
is
Superset
Of
join
keys
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
values
where
zip
zip
All
Type parameters
TKey
TValue
Hierarchy
WrapperIterable
<
[
TKey
,
TValue
]
>
MapIterable
Implements
Iterable
<
[
TKey
,
TValue
]
>
Index
Constructors
constructor
Properties
_underlying
Map
gen
Methods
__@iterator
aggregate
all
any
append
average
concat
convert
ToObject
count
default
IfEmpty
distinct
distinct
By
element
At
entries
except
first
first
OrDefault
flatten
for
Each
full
Outer
Group
Join
full
Outer
Join
get
group
Adjacent
group
By
group
Join
has
intersect
is
Subset
Of
is
Superset
Of
join
keys
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
values
where
zip
zip
All
Constructors
constructor
new
Map
Iterable
(
map
:
Map
<
TKey
,
TValue
>
)
:
MapIterable
Parameters
map:
Map
<
TKey
,
TValue
>
Returns
MapIterable
Properties
Private
_underlying
Map
_underlying
Map
:
Map
<
TKey
,
TValue
>
gen
gen
:
function
Type declaration
(
)
:
IterableIterator
<
[
TKey
,
TValue
]
>
Returns
IterableIterator
<
[
TKey
,
TValue
]
>
Methods
__@iterator
__@iterator
(
)
:
IterableIterator
<
[
TKey
,
TValue
]
>
Returns
IterableIterator
<
[
TKey
,
TValue
]
>
aggregate
aggregate<TOut>
(
seed
:
TOut
, aggFunc
:
function
)
:
TOut
Type parameters
TOut
Parameters
seed:
TOut
aggFunc:
function
(
prev
:
TOut
, curr
:
[
TKey
,
TValue
]
, idx
:
number
)
:
TOut
Parameters
prev:
TOut
curr:
[
TKey
,
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
>
convert
ToObject
convert
ToObject
(
this
:
MapIterable
<
string
,
TValue
>
)
:
any
Parameters
this:
MapIterable
<
string
,
TValue
>
Returns
any
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
entries
entries
(
)
:
WrapperIterable
<
Object
>
Returns
WrapperIterable
<
Object
>
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
<
[
TKey
,
TValue
]
>
)
:
[
TKey
,
TValue
]
|
undefined
first
OrDefault
(
this
:
Enumerable
<
[
TKey
,
TValue
]
>
, pred
:
IndexedPredicate
<
[
TKey
,
TValue
]
>
)
:
[
TKey
,
TValue
]
|
undefined
Parameters
this:
Enumerable
<
[
TKey
,
TValue
]
>
Returns
[
TKey
,
TValue
]
|
undefined
Parameters
this:
Enumerable
<
[
TKey
,
TValue
]
>
pred:
IndexedPredicate
<
[
TKey
,
TValue
]
>
Returns
[
TKey
,
TValue
]
|
undefined
flatten
flatten<TT>
(
this
:
Enumerable
<
Enumerable
<
TT
>
>
)
:
Enumerable
<
[
TKey
,
TValue
]
>
Type parameters
TT
Parameters
this:
Enumerable
<
Enumerable
<
TT
>
>
Returns
Enumerable
<
[
TKey
,
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
<
[
TKey
,
TValue
]
>
, rightSeq
:
Iterable
<
TRight
>
, leftKeySelector
:
IndexedSelector
<
[
TKey
,
TValue
]
,
TKey
>
, rightKeySelector
:
IndexedSelector
<
TRight
,
TKey
>
, selector
:
function
, equalityComparer
?:
EqualityComparer
<
TKey
>
)
:
Enumerable
<
TOut
>
Type parameters
TRight
TKey
TOut
Parameters
this:
Enumerable
<
[
TKey
,
TValue
]
>
rightSeq:
Iterable
<
TRight
>
leftKeySelector:
IndexedSelector
<
[
TKey
,
TValue
]
,
TKey
>
rightKeySelector:
IndexedSelector
<
TRight
,
TKey
>
selector:
function
(
o
:
[
TKey
,
TValue
]
|
undefined
, v
:
TRight
|
undefined
, k
:
TKey
)
:
TOut
Parameters
o:
[
TKey
,
TValue
]
|
undefined
v:
TRight
|
undefined
k:
TKey
Returns
TOut
Optional
equalityComparer:
EqualityComparer
<
TKey
>
Returns
Enumerable
<
TOut
>
get
get
(
key
:
TKey
)
:
undefined
|
TValue
Parameters
key:
TKey
Returns
undefined
|
TValue
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
<
[
TKey
,
TValue
]
>
, keySelector
:
IndexedSelector
<
[
TKey
,
TValue
]
,
TKey
>
, equalityComparer
?:
EqualityComparer
<
TKey
>
)
:
Enumerable
<
GroupedIterable
<
TKey
,
[
TKey
,
TValue
]
>
>
Type parameters
TKey
Parameters
this:
Enumerable
<
[
TKey
,
TValue
]
>
keySelector:
IndexedSelector
<
[
TKey
,
TValue
]
,
TKey
>
Optional
equalityComparer:
EqualityComparer
<
TKey
>
Returns
Enumerable
<
GroupedIterable
<
TKey
,
[
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
>
has
has
(
v
:
TKey
)
:
boolean
Parameters
v:
TKey
Returns
boolean
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
>
keys
keys
(
)
:
WrapperIterable
<
TKey
>
Returns
WrapperIterable
<
TKey
>
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
(
)
:
[
TKey
,
TValue
]
|
undefined
max<TOut>
(
selector
:
IndexedSelector
<
[
TKey
,
TValue
]
,
TOut
>
)
:
TOut
|
undefined
max<TOut>
(
selector
:
IndexedSelector
<
[
TKey
,
TValue
]
,
TOut
>
, comparer
:
Comparer
<
TOut
>
)
:
TOut
|
undefined
max<TOut>
(
this
:
Enumerable
<
[
TKey
,
TValue
]
>
, selector
:
IndexedSelector
<
[
TKey
,
TValue
]
,
[
TKey
,
TValue
]
|
TOut
>
, comparer
:
Comparer
<
[
TKey
,
TValue
]
|
TOut
>
)
:
[
TKey
,
TValue
]
|
TOut
|
undefined
Returns
[
TKey
,
TValue
]
|
undefined
Type parameters
TOut
Parameters
selector:
IndexedSelector
<
[
TKey
,
TValue
]
,
TOut
>
Returns
TOut
|
undefined
Type parameters
TOut
Parameters
selector:
IndexedSelector
<
[
TKey
,
TValue
]
,
TOut
>
comparer:
Comparer
<
TOut
>
Returns
TOut
|
undefined
Type parameters
TOut
Parameters
this:
Enumerable
<
[
TKey
,
TValue
]
>
selector:
IndexedSelector
<
[
TKey
,
TValue
]
,
[
TKey
,
TValue
]
|
TOut
>
comparer:
Comparer
<
[
TKey
,
TValue
]
|
TOut
>
Returns
[
TKey
,
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
(
)
:
[
TKey
,
TValue
]
|
undefined
min<TOut>
(
selector
:
IndexedSelector
<
[
TKey
,
TValue
]
,
TOut
>
)
:
TOut
|
undefined
min<TOut>
(
selector
:
IndexedSelector
<
[
TKey
,
TValue
]
,
TOut
>
, comparer
:
Comparer
<
TOut
>
)
:
TOut
|
undefined
min<TOut>
(
this
:
Enumerable
<
[
TKey
,
TValue
]
>
, selector
:
IndexedSelector
<
[
TKey
,
TValue
]
,
[
TKey
,
TValue
]
|
TOut
>
, comparer
:
Comparer
<
[
TKey
,
TValue
]
|
TOut
>
)
:
[
TKey
,
TValue
]
|
TOut
|
undefined
Returns
[
TKey
,
TValue
]
|
undefined
Type parameters
TOut
Parameters
selector:
IndexedSelector
<
[
TKey
,
TValue
]
,
TOut
>
Returns
TOut
|
undefined
Type parameters
TOut
Parameters
selector:
IndexedSelector
<
[
TKey
,
TValue
]
,
TOut
>
comparer:
Comparer
<
TOut
>
Returns
TOut
|
undefined
Type parameters
TOut
Parameters
this:
Enumerable
<
[
TKey
,
TValue
]
>
selector:
IndexedSelector
<
[
TKey
,
TValue
]
,
[
TKey
,
TValue
]
|
TOut
>
comparer:
Comparer
<
[
TKey
,
TValue
]
|
TOut
>
Returns
[
TKey
,
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
<
[
TKey
,
TValue
]
>
, selector
:
function
)
:
OrderedIterable
<
[
TKey
,
TValue
]
>
Type parameters
TCmp
Parameters
this:
Enumerable
<
[
TKey
,
TValue
]
>
selector:
function
(
x
:
[
TKey
,
TValue
]
)
:
TCmp
Parameters
x:
[
TKey
,
TValue
]
Returns
TCmp
Returns
OrderedIterable
<
[
TKey
,
TValue
]
>
order
ByDescending
order
ByDescending<TCmp>
(
this
:
Enumerable
<
[
TKey
,
TValue
]
>
, selector
:
function
)
:
OrderedIterable
<
[
TKey
,
TValue
]
>
Type parameters
TCmp
Parameters
this:
Enumerable
<
[
TKey
,
TValue
]
>
selector:
function
(
x
:
[
TKey
,
TValue
]
)
:
TCmp
Parameters
x:
[
TKey
,
TValue
]
Returns
TCmp
Returns
OrderedIterable
<
[
TKey
,
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
>
values
values
(
)
:
WrapperIterable
<
TValue
>
Returns
WrapperIterable
<
TValue
>
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