Home > @websublime/schema > StringSchemaType > isEmail

StringSchemaType.isEmail() method

Test if is a valid email

Signature:

isEmail(errorMessage?: string): this;

Parameters

ParameterTypeDescription
errorMessagestringError message

Returns:

this