GLib.Variant.prototype.get_maybe
function get_maybe(): GLib.Variant {
// Gjs wrapper for g_variant_get_maybe()
}
Given a maybe-typed GLib.Variant instance, extract its value. If the value is Nothing, then this function returns null.
Since 2.24
- Returns
the contents of value, or null