Preparing search index...
The search index is not available
@wsvaio/utils
@wsvaio/utils
map
Function map
map
<
T
,
R
>
(
list
,
handle
,
__namedParameters
?
)
:
R
[]
递归遍历映射数组
Type Parameters
T
extends
Record
<
any
,
any
>
R
extends
Record
<
any
,
any
>
Parameters
list
:
T
[]
要遍历的数组或对象树。
handle
:
(
(
item
)
=>
R
)
对每个元素执行的操作函数。
(
item
)
:
R
Parameters
item
:
T
Returns
R
__namedParameters
:
{
childrenKey
:
string
;
}
= ...
children
Key
:
string
Returns
R
[]
一个新的数组或对象树。
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@wsvaio/utils
Progress
BuiltInObjects
Compose
JsonableObj
DeepKeys
DeepOmit
DeepPartial
DeepPick
IsEqual
IsOptional
Jsonable
JsonableArr
JsonableBasic
Middleware
Parameters
ToUnionOfFunction
UnionToIntersection
ValueOf
Writeable
filePickerKey
arrayToTree
Loading...
Generated using
TypeDoc
递归遍历映射数组