GLib.Variant.new_int16

function new_int16(value: Number(gint16)): GLib.Variant {
    // Gjs wrapper for g_variant_new_int16()
}
  

Creates a new int16 GLib.Variant instance.

Since 2.24

value

a #gint16 value

Returns

a floating reference to a new int16 GLib.Variant instance