EmailAddress

@ExperimentalSince(version = KotoolsTypesVersion.V4_5_1)
class EmailAddress

Represents an email address.

You can use the EmailAddress.Companion.fromString or the EmailAddress.Companion.fromStringOrNull functions for creating an instance of this type.

Types

Link copied to clipboard
object Companion

Contains static declarations for the EmailAddress type.

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean

Returns true if the other object is an instance of EmailAddress and has the same string representation as this email address, or returns false otherwise.

Link copied to clipboard
override fun hashCode(): Int

Returns a hash code value for this email address.

Link copied to clipboard
override fun toString(): String

Returns the string representation of this email address.