Concept Flow - Why instanceof fails on interfaces
Create Interface
Create Class implementing Interface
Create Object from Class
Use instanceof to check Interface
Fails: instanceof only works with Classes
Use alternative: 'in' operator or user-defined type guards
This flow shows that instanceof works only with classes, not interfaces, so checking interface types with instanceof fails.