Function: isValidationResult()
isValidationResult(
result:unknown):result is ValidationResult
Defined in: shared/types/validation.ts:179
Type guard to check if a result is a valid BaseValidationResult.
Parametersโ
resultโ
unknown
The object to check
Returnsโ
result is ValidationResult
true when the object matches the BaseValidationResult
contract; otherwise false.