Home > @websublime/schema > StringSchemaType > isEmail
StringSchemaType.isEmail() method
Test if is a valid email
Signature:
isEmail(errorMessage?: string): this;
Parameters
| Parameter | Type | Description |
|---|---|---|
| errorMessage | string | Error message |
Returns:
this
Home > @websublime/schema > StringSchemaType > isEmail
Test if is a valid email
Signature:
isEmail(errorMessage?: string): this;
| Parameter | Type | Description |
|---|---|---|
| errorMessage | string | Error message |
Returns:
this