contentTypeIsMimeType

Determines if type is a subset of mime_type. Convenience wrapper around gio.global.contentTypeIsA.

bool
contentTypeIsMimeType
(
string type
,
string mimeType
)

Parameters

type string

a content type string

mimeType string

a mime type string

Return Value

Type: bool

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