GLib.Variant.prototype.is_of_type
function is_of_type(type: GLib.VariantType): Boolean {
// Gjs wrapper for g_variant_is_of_type()
}
Checks if a value has a type matching the provided type.
Since 2.24
- type
- Returns
true if the type of value matches type