Home > validator > yup > SchemaTestOptions
Signature:
export interface SchemaTestOptions<TSchema, TValue, TParams extends {} = {}>
Property | Modifiers | Type | Description |
---|---|---|---|
exclusive? | boolean | (Optional) | |
message | LocaleValue<TParams> | ||
name | string | ||
params? | TParams | (Optional) | |
test | (this: { path: string; schema: TSchema; options: SchemaValidateOptions; parent: any; createError: (options: { path: string; message: LocaleValue; params?: TParams; }) => ValidationError; }, value: TValue) => boolean | Promise<boolean> |