Preparing search index...
The search index is not available
@juulsgaard/ts-tools
@juulsgaard/ts-tools
mapToArr
Function mapToArr
map
To
Arr
<
TVal
,
TKey
,
TOut
>
(
map
)
:
TVal
[]
Get the values of a Map as an Array
Type Parameters
TVal
TKey
TOut
Parameters
map
:
ReadonlyMap
<
TKey
,
TVal
>
Returns
TVal
[]
map
To
Arr
<
TVal
,
TKey
,
TOut
>
(
map
,
mapFn
)
:
TOut
[]
Map a Map to an Array
Type Parameters
TVal
TKey
TOut
Parameters
map
:
ReadonlyMap
<
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 a Map as an Array