Modifier: is_email

Returns true if a string is a valid email address.

an_email: [email protected]
not_an_email: waffles
{{ if an_email | is_email }}
{{ if not_an_email | is_email }}
true
false
Betterify this page on Github!