Site hosted by Angelfire.com: Build your free website today!
 

The instanceof operator

SomeObject instanceof SomeClass

evaluates to true if SomeObject is an instance of SomeClass, or is an instance of a subclass of Someclass. Otherwise it evaluates to false.