GLib.Variant.new_bytestring_array

function new_bytestring_array(strv: Array(String)): GLib.Variant {
    // Gjs wrapper for g_variant_new_bytestring_array()
}
  

Constructs an array of bytestring GLib.Variant from the given array of strings.

If length is -1 then strv is null-terminated.

Since 2.26

strv

an array of strings

Returns

a new floating GLib.Variant instance