Nautilus.FileInfo.is_mime_type
Description: Reference for Nautilus.FileInfo.is_mime_type

### Virtual Method

# Nautilus FileInfois_mime_type

#### Declaration [src]

    gboolean
    is_mime_type (
      NautilusFileInfo* file_info,
      const char* mime_type
    )

#### Description [src]

Returns whether the file is the given mime type. See `nautilus_file_info_is_mime_type()` for details.

#### Parameters

`mime_type`

  Type: `const char*`

  A MIME type.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `gboolean`

`TRUE` when the MIME type of `file_info` matches `mime_type`, and `FALSE` otherwise.