# main





* * *

### main.validate(text, fullType) 

Validates the file at the given path with the given MIME type.

**Parameters**

**text**: `string`, Content of the file to validate.

**fullType**: `string`, MIME type of the file.

**Returns**: `boolean`, `true` if the file is valid; `false` otherwise.



* * *










