Preparing search index...
The search index is not available
ts-dna - v2.4.0
ts-dna
isFailure
Function isFailure
is
Failure
<
T
,
E
>
(
result
)
:
result
is
{
error
:
E
;
success
:
false
;
}
Type guard to check if a ValidationResult is a failure
Type Parameters
T
E
Parameters
result
:
ValidationResult
<
T
,
E
>
Returns
result
is
{
error
:
E
;
success
:
false
;
}
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
ts-dna - v2.4.0
Loading...
Type guard to check if a ValidationResult is a failure