function is_floating(): Boolean {
    // Gjs wrapper for g_variant_is_floating()

Checks whether value has a floating reference count.

This function should only ever be used to assert that a given variant is or is not floating, or for debug purposes. To acquire a reference to a variant that might be floating, always use GLib.Variant.prototype.ref_sink or GLib.Variant.prototype.take_ref.

See GLib.Variant.prototype.ref_sink for more information about floating reference counts.

Since 2.26


whether value is floating