Related: Check if object is a jQuery object
I have an object x
, and after running console.log(x)
Chrome's debugger shows me this:
How can I check if x
is a jQuery.Event
using JavaScript? (I've tried Object.getPrototypeOf
, toString
and obj.constructor
).