Clash Blueprint Engine API
Preparing search index...
shared/src
unwrapOr
Function unwrapOr
unwrapOr
<
T
,
E
>
(
result
:
Result
<
T
,
E
>
,
fallback
:
T
)
:
T
Unwrap the value or return
fallback
on error.
Type Parameters
T
E
Parameters
result
:
Result
<
T
,
E
>
fallback
:
T
Returns
T
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Clash Blueprint Engine API
Loading...
Unwrap the value or return
fallbackon error.