Companion

object Companion

Contains static declarations for the EmailAddress type.

Functions

Link copied to clipboard

Creates an email address from the specified text, or throws an IllegalArgumentException if the text doesn't match the corresponding regular expression.

Link copied to clipboard

Creates an email address from the specified text, or returns null if the text doesn't match the corresponding regular expression.

Properties

Link copied to clipboard

The regular expression that an EmailAddress should match.