[jquery-dev] Re: detecting jQuery objects && "constructor" property

2009-09-22 Thread Mickael DANIEL
od. > > On Sep 19, 5:16 am, Mickael DANIEL wrote: > > > Hello there, > > > In my current project, I have a similar need to detect if a variable > > is a jQuery object or not. > > > I finaly decided to add a $.isJQuery() method to jQuery namespace that > > could

[jquery-dev] Re: detecting jQuery objects && "constructor" property

2009-09-19 Thread Mickael DANIEL
Hello there, In my current project, I have a similar need to detect if a variable is a jQuery object or not. I finaly decided to add a $.isJQuery() method to jQuery namespace that could acts like a regular $.isArray or $.isFunction. Not sure, this is the best way to do this but I used something