Checks if a given file is an image.
Import:
import { isImageFile } from 'obsidian-dev-utils/blob';
Signature:
function isImageFile(file: File): boolean
Parameters:
| Parameter | Type | Description |
|---|
file | File | The file to check. |
Returns: boolean — true if the file is an image, false otherwise.