isValidationResult
isValidationResult<
T>(value):value is ValidationResult<T>
Defined in: runtime-primitives.ts:130
Check whether a value already matches the shared validation result shape.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”unknown
Raw result value to inspect before normalization.
Returns
Section titled “Returns”value is ValidationResult<T>
true when the value exposes isValid and an errors array.