Base Type Interfaces

(Friedrich Westermann) #1

I can not find anything on the Docs so:
Is there a Basetype for Interfaces?
I ask because i have code like:

function checkData(Value : IInterface) : boolean;

I need to call these with different Interfaces but now i’m lost in the dark :wink:

(marc hoffman) #2

I don’t believe there is. You;ll have to define a common ancestor or pass Object (any Interface is also an Object).

(Friedrich Westermann) #3

Ok that is fine. Sometimes my thoughts are to "Delphi"