Skip to main content

Function: isValidationResult()

isValidationResult(result: unknown): result is BaseValidationResult

Defined in: shared/types/validation.ts:177

Type guard to check if a result is a valid BaseValidationResult.

Parametersโ€‹

resultโ€‹

unknown

The object to check

Returnsโ€‹

result is BaseValidationResult

true when the object matches the BaseValidationResult contract; otherwise false.