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