GLib.VariantType.prototype.copy
function copy(): GLib.VariantType {
// Gjs wrapper for g_variant_type_copy()
}
Makes a copy of a GLib.VariantType. It is appropriate to call GLib.VariantType.prototype.free on the return value. type may not be null.
- Returns
-
a new GLib.VariantType
Since 2.24