typefinity
Preparing search index...
optional
Function optional
optional
<
T
>
(
value
:
T
)
:
Optional
<
Exclude
<
T
,
null
>
>
Wrap the given value into an Optional
Type Parameters
T
Parameters
value
:
T
The optional value
Returns
Optional
<
Exclude
<
T
,
null
>
>
an Optional of the given value
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
typefinity
Loading...
Wrap the given value into an Optional