Determines whether an instance of leftType can be assigned from an instance of rightType.
leftType
rightType
function IsAssignableFrom(leftType, rightType: PTypeInfo): Boolean; overload;