Type alias CustomValidateOptions<T>
CustomValidateOptions<T>: { message: string | ((validationArguments) => string); validator: ((value,
args) => boolean); } Type declaration
message: string | ((validationArguments) => string)
validator: ((value, args) => boolean)
- (value, args): boolean
Parameters
value: T
args: ValidationArguments
Returns boolean