Skip to content

TypeScript API / contentia/file-sanitizer / getScannersForType

Function: getScannersForType() ​

ts
function getScannersForType(fileType): DangerousContentScanner[];

Get all scanners that can handle a specific file type

Parameters ​

ParameterType
fileTypeDetectedFileType

Returns ​

DangerousContentScanner[]