Function email

Validates that a string property is a valid email address.

class User {
@email()
email: string;
}