@pleisto/active-support
Preparing search index...
listify
Variable listify
Const
listify
:
<
TValue
,
TKey
extends
string
|
number
|
symbol
,
KResult
>
(
obj
:
Record
<
TKey
,
TValue
>
,
toItem
:
(
key
:
TKey
,
value
:
TValue
)
=>
KResult
,
)
=>
KResult
[]
Convert an object to a list, mapping each entry into a list item
Type declaration
<
TValue
,
TKey
extends
string
|
number
|
symbol
,
KResult
>
(
obj
:
Record
<
TKey
,
TValue
>
,
toItem
:
(
key
:
TKey
,
value
:
TValue
)
=>
KResult
,
)
:
KResult
[]
Type Parameters
TValue
TKey
extends
string
|
number
|
symbol
KResult
Parameters
obj
:
Record
<
TKey
,
TValue
>
toItem
:
(
key
:
TKey
,
value
:
TValue
)
=>
KResult
Returns
KResult
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@pleisto/active-support
Loading...
Convert an object to a list, mapping each entry into a list item