Preparing search index...
The search index is not available
@dancrumb/fpish
@dancrumb/fpish
makeNonOptional
Function makeNonOptional
make
Non
Optional
<
T
>
(
f
)
:
(
(
v
)
=>
unknown
)
Take a function that requires a value of
Optional<T>
and return a version that takes
T
Type Parameters
T
Parameters
f
:
(
(
o
)
=>
unknown
)
(
o
)
:
unknown
Parameters
o
:
Optional
<
T
>
Returns
unknown
Returns
(
(
v
)
=>
unknown
)
(
v
)
:
unknown
Parameters
v
:
T
Returns
unknown
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@dancrumb/fpish
Loading...
Take a function that requires a value of
Optional<T>
and return a version that takesT