VariantType.maybe


Description:

public VariantType.maybe (VariantType element)

Constructs the type corresponding to a maybe instance containing type type or Nothing.

It is appropriate to call g_variant_type_free on the return value.

Parameters:

element

a VariantType

Returns:

a new maybe VariantType

Since 2.24