Companion
object Companion
Contains static declarations for the EmailAddress type.
Properties
Functions
Link copied to clipboard
Creates an instance of EmailAddress from the specified text, or returns null
if the text doesn't match the default pattern.
@ExperimentalSince(version = KotoolsTypesVersion.V4_5_3)
Creates an instance of EmailAddress from the specified text. Returns null
if the text doesn't match the specified pattern, or if the pattern doesn't match the default one.
Link copied to clipboard
Creates an instance of EmailAddress from the specified text, or throws an IllegalArgumentException if the text doesn't match the default pattern.
@ExperimentalSince(version = KotoolsTypesVersion.V4_5_3)
Creates an instance of EmailAddress from the specified text. Throws an IllegalArgumentException if the text doesn't match the specified pattern, or if the pattern doesn't match the default one.