Companion

object Companion

Contains static declarations for the EmailAddress type.

Functions

Link copied to clipboard
infix fun of(text: String): EmailAddress?

Returns an email address with the specified text, or returns null if the text doesn't match EmailAddressRegex.Companion.default.

Returns an email address with the specified text, or returns null if the text doesn't match the specified regex.