FieldValidator
Type Alias
A function that takes the FieldContext
for the field being validated and returns a
ValidationResult
indicating errors for the field.
API
type FieldValidator<TValue, TPathKind extends PathKind = PathKind.Root> = LogicFn< TValue, FieldValidationResult, TPathKind>
Jump to details