GLib.VariantType.prototype.is_subtype_of
function is_subtype_of(supertype: GLib.VariantType): Boolean {
// Gjs wrapper for g_variant_type_is_subtype_of()
}
Checks if type is a subtype of supertype.
This function returns true if type is a subtype of supertype. All types are considered to be subtypes of themselves. Aside from that, only indefinite types can have subtypes.
- supertype
- Returns
-
true if type is a subtype of supertype
Since 2.24