is_mime_type


Description:


[ Version ( since = "2.52" ) ]
public bool is_mime_type (string type, string mime_type)

Determines if type is a subset of mime_type.

Convenience wrapper around is_a.

Parameters:

type

a content type string

mime_type

a mime type string

Returns:

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


Namespace: GLib.ContentType
Package: gio-2.0