function get_objv(): [return_value: Array(String), length: Number(gsize)] {
    // Gjs wrapper for g_variant_get_objv()

Gets the contents of an array of object paths GLib.Variant. This call makes a shallow copy; the return result should be released with, but the individual strings must not be modified.

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


an array of constant strings


the length of the result, or null