Gio.content_type_is_a
Description: Reference for Gio.content_type_is_a

### Function

# Giocontent_type_is_a

since: 2.0

#### Declaration

    gboolean
    g_content_type_is_a (
      const gchar* type,
      const gchar* supertype
    )

#### Description

Determines if `type` is a subset of `supertype`.

Available since: 2.0

#### Parameters

`type`

  Type: `const gchar*`

  A content type string.

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

`supertype`

  Type: `const gchar*`

  A content type string.

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

#### Return value

Type: `gboolean`

`TRUE` if `type` is a kind of `supertype`, `FALSE` otherwise.