FL_GET_FILE_TYPE
functionsupportedData loading & unloadingReturns the file type (modality) of a FILE. This is a more general classification than the content type (see FL_GET_CONTENT_TYPE).
Syntax
Use one of the following
FL_GET_FILE_TYPE( <file_expression> )
FL_GET_FILE_TYPE( <variant_expression> )
Parameters
| Name | Required | Description |
|---|---|---|
file_expression | required | The argument must be an expression of type FILE. |
variant_expression | required | The argument must be an OBJECT representing a FILE. |
Returns
One of following values as a VARCHAR: - document - video - audio - image - compressed - unknown Tip To test if a file is of a particular type, use one of the FL_IS functions: - FL_IS_AUDIO - FL_IS_COMPRESSED - FL_IS_DOCUMENT - FL_IS_IMAGE - FL_IS_VIDEO