Documentation

email()

Validates that the string is a valid email address.

email(error?: StringConvertible): this;

Notes

Parameters

Return value

This builder, for chaining.

Examples

f.string().email("Please enter a valid email address")

Related