EmailAddress

open class EmailAddress
extension EmailAddress: Equatable

A data type represents an email address with validation and equatable implementation.

Since

1.2.0
  • Creates an EmailAddress object from a string

    Since

    1.2.0

    Declaration

    Swift

    open class func fromString(_ address: String?) -> EmailAddress?

    Parameters

    address

    The email address string.

    Return Value

    EmailAddress

  • Returns the email address string from this EmailAddress object.

    Since

    1.2.0

    Declaration

    Swift

    open func toString() -> String

    Return Value

    The email address string