Preparing search index...
The search index is not available
@juulsgaard/ts-tools
@juulsgaard/ts-tools
objToArr
Function objToArr
obj
To
Arr
<
TKey
,
TVal
,
TOut
>
(
obj
)
:
TVal
[]
Get the values of an Object as an Array
Type Parameters
TKey
extends
string
|
number
TVal
TOut
Parameters
obj
:
Record
<
TKey
,
TVal
>
Returns
TVal
[]
obj
To
Arr
<
TKey
,
TVal
,
TOut
>
(
obj
,
mapFn
)
:
TOut
[]
Map an Object to an Array
Type Parameters
TKey
extends
string
|
number
TVal
TOut
Parameters
obj
:
Record
<
TKey
,
TVal
>
mapFn
:
(
(
val
:
TVal
,
key
:
TKey
)
=>
TOut
)
(
val
,
key
)
:
TOut
Parameters
val
:
TVal
key
:
TKey
Returns
TOut
Returns
TOut
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@juulsgaard/ts-tools
Loading...
Get the values of an Object as an Array