IsValidEmail(email)
returns a boolean depending on whether the provided email is valid or not.
Input
IsValidEmail(email)
: where email needs to be a string value containing the email that needs to be validated.
Output
A boolean value depending on whether the provided email is valid or not.
Examples
{{ IsValidEmail("[email protected]") }}
-> true
{{ IsValidEmail("john.doe@") }}
-> false
{{ IsValidEmail("mapsly.com") }}
-> false