type_compatible


Description:

public static bool type_compatible (Type src_type, Type dest_type)

Checks whether a [method@GObject.

Value.copy] is able to copy values of type src_type into values of type dest_type.

Parameters:

src_type

source type to be copied

dest_type

destination type for copying

Returns:

true if the copy is possible; false otherwise