Preparing search index...
The search index is not available
@juulsgaard/ts-tools
@juulsgaard/ts-tools
mapArrNotNull
Function mapArrNotNull
map
Arr
Not
Null
<
TVal
,
TOut
>
(
arr
,
map
)
:
NonNullable
<
TOut
>
[]
Map an array and filter out any undefined values
Type Parameters
TVal
TOut
Parameters
arr
:
readonly
TVal
[]
map
:
(
(
val
:
TVal
,
index
:
number
)
=>
undefined
|
null
|
TOut
)
(
val
,
index
)
:
undefined
|
null
|
TOut
Parameters
val
:
TVal
index
:
number
Returns
undefined
|
null
|
TOut
Returns
NonNullable
<
TOut
>
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@juulsgaard/ts-tools
Loading...
Map an array and filter out any undefined values