is_maybe


Description:

public bool is_maybe ()

Determines if the given this is a ‘maybe’ type.

This is true if the type string for this starts with an `m`.

This function returns true for any indefinite type for which every definite subtype is a ‘maybe’ type — `G_VARIANT_TYPE_MAYBE`, for example.

Parameters:

this

type to check

Returns:

true if this is a ‘maybe’ type Since 2.24