Home > validator > yup > MixedSchema > test
Signature:
test(test: SchemaTestOptions<this, T>['test'] | RegExp, message?: SchemaTestOptions<this, T>['message']): this;
Parameter | Type | Description |
---|---|---|
test | SchemaTestOptions<this, T>[‘test’] | RegExp | |
message | SchemaTestOptions<this, T>[‘message’] | (Optional) |
Returns:
this