Checks if a string is a valid email address.
The string to validate.
Options for email validation.
true if the string is a valid email, false otherwise.
true
false
Checks if a string is a valid email address.