basalt / files/src / isInertType
Function: isInertType()
> isInertType(detected): boolean
Defined in: files/src/sniff.ts:216
Whether detected is a passive format a browser displays or downloads but never executes: the signature formats (PDF, raster images, ZIP/OOXML), any other raster image/*, audio/* and video/*. HTML, SVG, XML, scripts and executables are not — they run code in the page or on the machine.
Parameters
detected
string
Returns
boolean