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