GLib.Variant.new_uint16

function new_uint16(value: Number(guint16)): GLib.Variant {
    // Gjs wrapper for g_variant_new_uint16()
}
  

Creates a new uint16 GLib.Variant instance.

Since 2.24

value

a #guint16 value

Returns

a floating reference to a new uint16 GLib.Variant instance