Instanceof

Allows to check whether an object belongs to a certain class. It also takes inheritance into account.

Syntax

Obj instanceof Class

Related concepts

Instanceof — Structure map

Clickable & Draggable!

Instanceof — Related pages: