GLib.Variant.prototype.dup_objv

function dup_objv(): [return_value: Array(String), length: Number(gsize)] {
    // Gjs wrapper for g_variant_dup_objv()
}
  

Gets the contents of an array of object paths GLib.Variant. This call makes a deep copy; the return result should be released with GLib.strfreev.

If length is non-null then the number of elements in the result is stored there. In any case, the resulting array will be null-terminated.

For an empty array, length will be set to 0 and a pointer to a null pointer will be returned.

Since 2.30

return_value

an array of strings

length

the length of the result, or null