Home > validator > yup > SchemaTestOptions > test
Signature:
test: (this: {
path: string;
schema: TSchema;
options: SchemaValidateOptions;
parent: any;
createError: (options: {
path: string;
message: LocaleValue;
params?: TParams;
}) => ValidationError;
}, value: TValue) => boolean | Promise<boolean>;