I am a beginner with Delphi interfaces and I have a question.
Is it possible to know if a class implements a interface.
We can use "is" with classes and I was wondering if one similiar command is available with interfaces ?.
TSomeClass = class(TObject, ISomeInterface)
aSomeClass : TSomeClass;
if (aSomeClass [blue]is[/blue] ISomeInterface) then ISomeInterface(aSomeClass).SomeIterfaceMethod;