Value.typeCompatible

bool typeCompatible(gobject.types.GType srcType, gobject.types.GType destType)

Returns whether a #GValue of type src_type can be copied into a #GValue of type dest_type.

Parameters

srcTypesource type to be copied.
destTypedestination type for copying.

Returns

true if [gobject.value.Value.copy] is possible with src_type and dest_type.