is_image method
Leave feedback
On this page
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.
- class
FileType
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.