Since 2.24
VariantType.dupString
string dupString()Returns a newly-allocated copy of the type string corresponding to type. The returned string is nul-terminated. It is appropriate to call [glib.global.gfree] on the return value.
Returns
the corresponding type string