ValidatorResult<T>
ValidatorResult<
T> =true|string|CoercedResult<T>
Validator return type.
truefor valid values (no transformation)stringfor validation errorsCoercedResult<T>for coerced values
Type Parameters
T: T
Since
2.0.0