Variant.getMaybe

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

class Variant
getMaybe
()

Return Value

Type: Variant

the contents of value, or NULL. [allow-none]

Meta