GLib.Variant.prototype.get_byte

function get_byte(): Number(guint8) {
    // Gjs wrapper for g_variant_get_byte()
}
  

Returns the byte value of value.

It is an error to call this function with a value of any type other than %G_VARIANT_TYPE_BYTE.

Since 2.24

Returns

a #guchar