equals method

On this page

equals

Checks whether the current FileType is the same as the specified FileType object.

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

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

equals

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

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

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

See Also

On this page