Gio.content_type_is_a

function content_type_is_a(type: String, supertype: String): Boolean {
    // Gjs wrapper for g_content_type_is_a()
}
  

Determines if type is a subset of supertype.

type

a content type string

supertype

a content type string

Returns

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