Gio.content_type_get_mime_type
function content_type_get_mime_type(type: String): String { // Gjs wrapper for g_content_type_get_mime_type() }
Gets the mime type for the content type, if one is registered.
- type
a content type string
- Returns
the registered mime type for the given type, or null if unknown.