Change Language


Follow Navioo On Twitter

instanceOf

Returns true if the specified object is of the specified object type.

Syntax

object instanceof objectType

Example

theDay=new Date(1995, 12, 17)
if (theDay instanceof Date) {
   doThis; 
} 
text_javascript Navioo_docs

Ajax Javascript feed

↑ Grab this Headline Animator