HED JavaScript Library
Preparing search index...
utils/array
recursiveMap
Function recursiveMap
recursiveMap
<
T
,
U
>
(
fn
:
(
arg0
:
T
)
=>
U
,
array
:
T
[]
)
:
U
[]
Apply a function recursively to an array.
Type Parameters
T
U
Parameters
fn
:
(
arg0
:
T
)
=>
U
The function to apply.
array
:
T
[]
The array to map.
Returns
U
[]
The mapped array.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
HED JavaScript Library
Loading...
Apply a function recursively to an array.