Variant.isOfType

Checks if a value has a type matching the provided type.

class Variant
bool
isOfType

Parameters

type VariantType

a #GVariantType

Return Value

Type: bool

%TRUE if the type of @value matches @type

Meta

Since

2.24