Preparing search index...
The search index is not available
@pleisto/active-support
@pleisto/active-support
mapValues
Function mapValues
map
Values
<
TValue
,
TKey
,
TNewValue
>
(
obj
,
mapFunc
)
:
Record
<
TKey
,
TNewValue
>
Map over all the keys to create a new object
Type Parameters
TValue
TKey
extends
string
|
number
|
symbol
TNewValue
Parameters
obj
:
Record
<
TKey
,
TValue
>
mapFunc
:
(
(
value
,
key
)
=>
TNewValue
)
(
value
,
key
)
:
TNewValue
Parameters
value
:
TValue
key
:
TKey
Returns
TNewValue
Returns
Record
<
TKey
,
TNewValue
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@pleisto/active-support
Loading...
Map over all the keys to create a new object