is_image method

On this page

is_image

Determines whether the given FileType is an image format.

def is_image(cls, file_type):
    ...
Parameter Type Description
file_type FileType The FileType object.

Returns: bool: True if the input FileType is an image format; otherwise False.

See Also

On this page