Companion
object Companion
Contains static declarations for the EmailAddress type.
Properties
Link copied to clipboard
The regular expression that an EmailAddress should match.
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
@DeprecatedAsErrorSince(version = KotoolsTypesVersion.V4_5_1)
Creates an email address from the specified text, or returns null
if the text doesn't match the corresponding regular expression.