Value.typeTransformable

Check whether Value.transform is able to transform values of type src_type into values of type dest_type. Note that for the types to be transformable, they must be compatible or a transformation function must be registered.

class Value
static
bool
typeTransformable

Parameters

srcType GType

Source type.

destType GType

Target type.

Return Value

Type: bool

TRUE if the transformation is possible, FALSE otherwise.