Skip to content

TypeScript API / laikacms/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[]

Released under the MIT License.