Successful validation result.
Indicates the input matches the expected type. The validated data is available in data with full type information.
The validated type
The validated data with correct type.
The original input after successful validation. TypeScript will narrow this to type T when success is true.
T
true
Success discriminator.
Always true for successful validations. Use this to narrow the type before accessing data.
Successful validation result.
Indicates the input matches the expected type. The validated data is available in data with full type information.