@mikuroxina/mini-fn
Preparing search index...
Result
isErr
Function isErr
isErr
<
E
,
T
>
(
res
:
Result
.
Result
<
E
,
T
>
)
:
res
is
Err
<
E
>
Checks whether the result is an
Err
.
Type Parameters
E
T
Parameters
res
:
Result
.
Result
<
E
,
T
>
The result to be checked.
Returns
res
is
Err
<
E
>
Whether the result is an
Err
.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@mikuroxina/mini-fn
Loading...
Checks whether the result is an
Err.