Preparing search index...
The search index is not available
@pleisto/active-support
@pleisto/active-support
mapEntries
Function mapEntries
map
Entries
<
TKey
,
TValue
,
TNewKey
,
TNewValue
>
(
obj
,
toEntry
)
:
Record
<
TNewKey
,
TNewValue
>
Map over all the keys to create a new object
Type Parameters
TKey
extends
string
|
number
|
symbol
TValue
TNewKey
extends
string
|
number
|
symbol
TNewValue
Parameters
obj
:
Record
<
TKey
,
TValue
>
toEntry
:
(
(
key
,
value
)
=>
[
TNewKey
,
TNewValue
]
)
(
key
,
value
)
:
[
TNewKey
,
TNewValue
]
Parameters
key
:
TKey
value
:
TValue
Returns
[
TNewKey
,
TNewValue
]
Returns
Record
<
TNewKey
,
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