GLib.VariantType.prototype.dup_string
function dup_string(): String { // Gjs wrapper for g_variant_type_dup_string() }
Returns a newly-allocated copy of the type string corresponding to type. The returned string is nul-terminated. It is appropriate to call GLib.free on the return value.
- Returns
-
the corresponding type string
Since 2.24