UNPKG

@shopware-ag/dive

Version:

Shopware Spatial Framework

7 lines (6 loc) 293 B
/** * Checks if a file, file extension, MIME type, or DataTransferItem is supported * @param file The file-like input to check * @returns True if the file-like input is supported, false otherwise */ export declare function isFileSupported(file: File | DataTransferItem | string): boolean;