ixfx
Preparing search index...
@ixfx/guards
resultToValue
Function resultToValue
resultToValue
<
TValue
,
TError
>
(
result
:
Result
<
TValue
,
TError
>
)
:
TValue
Unwraps the result, returning its value if OK. If not, an exception is thrown.
Type Parameters
TValue
TError
Parameters
result
:
Result
<
TValue
,
TError
>
Returns
TValue
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ixfx
Loading...
Unwraps the result, returning its value if OK. If not, an exception is thrown.