Theia API Documentation v1.77.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/plugin-ext
common/arrays
mapFind
Function mapFind
mapFind
<
T
,
R
>
(
array
:
Iterable
<
T
>
,
mapFn
:
(
value
:
T
)
=>
R
|
undefined
,
)
:
R
|
undefined
Returns the first mapped value of the array which is not undefined.
Type Parameters
T
R
Parameters
array
:
Iterable
<
T
>
mapFn
:
(
value
:
T
)
=>
R
|
undefined
Returns
R
|
undefined
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Eclipse Theia Website
GitHub
Theia API Documentation v1.77.0
Loading...
Returns the first mapped value of the array which is not undefined.