it
Preparing search index...
it-map
default
Function default
default
<
I
,
O
>
(
source
:
Iterable
<
I
>
,
func
:
(
val
:
I
,
index
:
number
)
=>
Promise
<
O
>
,
)
:
AsyncGenerator
<
O
,
void
,
undefined
>
Takes an (async) iterable and returns one with each item mapped by the passed function
Type Parameters
I
O
Parameters
source
:
Iterable
<
I
>
func
:
(
val
:
I
,
index
:
number
)
=>
Promise
<
O
>
Returns
AsyncGenerator
<
O
,
void
,
undefined
>
default
<
I
,
O
>
(
source
:
Iterable
<
I
>
,
func
:
(
val
:
I
,
index
:
number
)
=>
O
,
)
:
Generator
<
O
,
void
,
undefined
>
Takes an (async) iterable and returns one with each item mapped by the passed function
Type Parameters
I
O
Parameters
source
:
Iterable
<
I
>
func
:
(
val
:
I
,
index
:
number
)
=>
O
Returns
Generator
<
O
,
void
,
undefined
>
default
<
I
,
O
>
(
source
:
AsyncIterable
<
I
,
any
,
any
>
|
Iterable
<
I
,
any
,
any
>
,
func
:
(
val
:
I
,
index
:
number
)
=>
O
|
Promise
<
O
>
,
)
:
AsyncGenerator
<
O
,
void
,
undefined
>
Takes an (async) iterable and returns one with each item mapped by the passed function
Type Parameters
I
O
Parameters
source
:
AsyncIterable
<
I
,
any
,
any
>
|
Iterable
<
I
,
any
,
any
>
func
:
(
val
:
I
,
index
:
number
)
=>
O
|
Promise
<
O
>
Returns
AsyncGenerator
<
O
,
void
,
undefined
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
it
Loading...
Takes an (async) iterable and returns one with each item mapped by the passed function