equals
Returns true
if the other object is an instance of EmailAddressAsStringSerializer, or returns false
otherwise.
Calling from Kotlin
Here's an example of calling this method from Kotlin code:
val serializer = EmailAddressAsStringSerializer()
val other = EmailAddressAsStringSerializer()
val equality: Boolean = serializer == other
val message = "Instances of '$serializer' should be equal."
assertTrue(equality, message)
Content copied to clipboard