Vapor Documentation Beta

Structure Validator​Results.​Email

public struct Email

ValidatorResult of a validator that validates whether a String is a valid email address.

%3 ValidatorResults.Email ValidatorResults.Email ValidatorResult ValidatorResult ValidatorResults.Email->ValidatorResult

Member Of

ValidatorResults

Conforms To

ValidatorResult

Properties

is​Valid​Email

let isValidEmail: Bool

The input is a valid email address

is​Failure

var isFailure: Bool

success​Description

var successDescription: String?

failure​Description

var failureDescription: String?