equals method

On this page

equals

Determines whether the current Layout is the same as the specified Layout object.

def equals(self, other):
    ...
Parameter Type Description
other Layout The object to compare with the current Layout object.

Returns: bool: True if both Layout objects are the same; otherwise False.

equals

Determines whether the current Layout is the same as the specified object.

def equals(self, obj):
    ...
Parameter Type Description
obj Any The object to compare with the current Layout object.

Returns: bool: True if obj is a Layout and is the same as the current Layout; otherwise, False.

See Also

On this page