Validator for the mime type of a file
Returns true if the mimetype of the file does not matche the given ones. Also parts of mimetypes can be checked. If you give for example “image” all image mime types will not be accepted like “image/gif”, “image/jpeg” and so on.
Parameters: | string|array – Real file to check for mimetype |
---|---|
Return type: | bool |