Preparing search index...
The search index is not available
LineUpJS - v4.11.0
LineUpJS
ISequence
Interface ISequence<T>
generalized version of Array function similar to Scala ISeq
interface
ISequence
<
T
>
{
length
:
number
;
every
(
callback
)
:
boolean
;
filter
(
callback
)
:
ISequence
<
T
>
;
forEach
(
callback
)
:
void
;
map
<
U
>
(
callback
)
:
ISequence
<
U
>
;
reduce
<
U
>
(
callback
,
initial
)
:
U
;
some
(
callback
)
:
boolean
;
}
Type Parameters
T
Hierarchy (
view full
)
IForEachAble
<
T
>
ISequence
Index
Properties
length
Methods
every
filter
for
Each
map
reduce
some
Properties
Readonly
length
length
:
number
Methods
every
every
(
callback
)
:
boolean
Parameters
callback
:
(
(
v
,
i
)
=>
boolean
)
(
v
,
i
)
:
boolean
Parameters
v
:
T
i
:
number
Returns
boolean
Returns
boolean
filter
filter
(
callback
)
:
ISequence
<
T
>
Parameters
callback
:
(
(
v
,
i
)
=>
boolean
)
(
v
,
i
)
:
boolean
Parameters
v
:
T
i
:
number
Returns
boolean
Returns
ISequence
<
T
>
for
Each
for
Each
(
callback
)
:
void
Parameters
callback
:
(
(
v
,
i
)
=>
void
)
(
v
,
i
)
:
void
Parameters
v
:
T
i
:
number
Returns
void
Returns
void
map
map
<
U
>
(
callback
)
:
ISequence
<
U
>
Type Parameters
U
Parameters
callback
:
(
(
v
,
i
)
=>
U
)
(
v
,
i
)
:
U
Parameters
v
:
T
i
:
number
Returns
U
Returns
ISequence
<
U
>
reduce
reduce
<
U
>
(
callback
,
initial
)
:
U
Type Parameters
U
Parameters
callback
:
(
(
acc
,
v
,
i
)
=>
U
)
(
acc
,
v
,
i
)
:
U
Parameters
acc
:
U
v
:
T
i
:
number
Returns
U
initial
:
U
Returns
U
some
some
(
callback
)
:
boolean
Parameters
callback
:
(
(
v
,
i
)
=>
boolean
)
(
v
,
i
)
:
boolean
Parameters
v
:
T
i
:
number
Returns
boolean
Returns
boolean
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
length
every
filter
for
Each
map
reduce
some
LineUpJS - v4.11.0
Loading...
generalized version of Array function similar to Scala ISeq