typeIsA

fnbool typeIsA(gobject.types.GType type, gobject.types.GType isAType)

If is_a_type is a derivable type, check whether type is a descendant of is_a_type. If is_a_type is an interface, check whether type conforms to it.

Parameters

typetype to check ancestry for
isATypepossible ancestor of type or interface that type could conform to

Returns

true if type is a is_a_type