Variant.getMaybe

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

class Variant
getMaybe
()

Return Value

Type: glib.variant.Variant

the contents of value, or null