Preparing search index...
The search index is not available
ts-arrayx - v1.0.3
ts-arrayx
takeWhile/takeWhile
Array
Interface Array<T>
Type Parameters
T
Hierarchy
Array
Index
Methods
take
While
Methods
take
While
take
While
(
predicate
)
:
T
[]
Takes longest prefix of elements that satisfy the
predicate
.
Parameters
predicate
:
(
(
value
)
=>
boolean
)
(
value
)
:
boolean
Parameters
value
:
T
Returns
boolean
Returns
T
[]
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
take
While
ts-
arrayx -
v1.0.3
avg/avg
Array
chunk/chunk
Array
distinct/distinct
Array
distinct
By/distinct
By
Array
drop/drop
Array
drop
Right/drop
Right
Array
drop
Right
While/drop
Right
While
Array
drop
While/drop
While
Array
first/first
Array
flatten/flatten
Array
group
By/group
By
Array
grouped/grouped
Array
last/last
Array
max/max
Array
max
By/max
By
Array
min/min
Array
min
By/min
By
Array
sliding/sliding
Array
sort
By/sort
By
Array
sum/sum
Array
take/take
Array
take
Right/take
Right
Array
take
Right
While/take
Right
While
Array
take
While/take
While
Array
Generated using
TypeDoc
Takes longest prefix of elements that satisfy the
predicate
.