equals method

On this page

equals

Determines whether the given SMS object is equal to this instance by comparing all properties.

def equals(self, obj):
    ...
Parameter Type Description
obj Any SMS object to compare with.

Returns: bool: True if the passed SMS object has the same type and all its properties are equal to this instance’s properties.

See Also

On this page