Variant.getMaybe

glib.variant.Variant getMaybe() nothrow

Given a maybe-typed #GVariant instance, extract its value. If the value is Nothing, then this function returns null.

Returns

the contents of value, or null