Preparing search index...
The search index is not available
@monadica/lazy-streams
@monadica/lazy-streams
ILazyStream
Interface ILazyStream<T>
Interface for the core LazyStream methods
interface
ILazyStream
<
T
>
{
filter
(
fn
:
(
(
value
:
T
)
=>
boolean
)
)
:
ILazyStream
<
T
>
;
map
<
U
>
(
fn
:
(
(
value
:
T
)
=>
U
)
)
:
ILazyStream
<
U
>
;
take
(
n
:
number
)
:
ILazyStream
<
T
>
;
toArray
(
)
:
T
[]
;
}
Type Parameters
T
Implemented by
LazyStream
Index
Methods
filter
map
take
to
Array
Methods
filter
filter
(
fn
)
:
ILazyStream
<
T
>
Parameters
fn
:
(
(
value
:
T
)
=>
boolean
)
(
value
)
:
boolean
Parameters
value
:
T
Returns
boolean
Returns
ILazyStream
<
T
>
map
map
<
U
>
(
fn
)
:
ILazyStream
<
U
>
Type Parameters
U
Parameters
fn
:
(
(
value
:
T
)
=>
U
)
(
value
)
:
U
Parameters
value
:
T
Returns
U
Returns
ILazyStream
<
U
>
take
take
(
n
)
:
ILazyStream
<
T
>
Parameters
n
:
number
Returns
ILazyStream
<
T
>
to
Array
to
Array
(
)
:
T
[]
Returns
T
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
filter
map
take
to
Array
@monadica/lazy-streams
Loading...
Interface for the core LazyStream methods