Function

Gio-2.0Giocontent_type_is_mime_typeSince 2.52

  • Determines if type is a subset of mime_type. Convenience wrapper around g_content_type_is_a().

    Parameters

    • type: string

      a content type string

    • mime_type: string

      a mime type string

    Returns boolean

    true if type is a kind of mime_type, false otherwise.

    2.52