contentTypeIsMimeType

fnbool contentTypeIsMimeType(string type, string mimeType)

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

Parameters

typea content type string
mimeTypea mime type string

Returns

true if type is a kind of mime_type,

false otherwise.