type_transformable


Description:

public static bool type_transformable (Type src_type, Type dest_type)

Checks whether [method@GObject.

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 using [ func@GObject.Value.register_transform_func].

Parameters:

src_type

source type

dest_type

target type

Returns:

true if the transformation is possible; false otherwise