function get_handle(): Number(gint32) {
    // Gjs wrapper for g_variant_get_handle()

Returns the 32-bit signed integer value of value.

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

By convention, handles are indexes into an array of file descriptors that are sent alongside a D-Bus message. If you're not interacting with D-Bus, you probably don't need them.

Since 2.24


a #gint32