Check if an object is an element on google desktop

Posted by Claudiu on Stack Overflow See other posts from Stack Overflow or by Claudiu
Published on 2010-02-17T20:52:24Z Indexed on 2010/04/09 17:43 UTC
Read the original article Hit count: 396

Filed under:
|
|
|

In javascript on a browser, I can do this to see if an object is DOM-related:

obj instanceof Node

How do I accomplish this with google desktop? Node is undefined, and this doesn't work either:

obj instanceof basicElement

© Stack Overflow or respective owner

Related posts about google-desktop

Related posts about JavaScript