Check if var contains CSSStyleRule (get object name)
<p>I need to check if a variable contains a CSSStyleRule. When using <code>window.console.log(myvar)</code> it tells me <code>CSSStyleRule { constructor=CSSStyleRule, type=1, more...}</code>, but when I use <code>typeof myvar</code> it just tells me <code>object</code>.</p>

<p>How can I check if it is really a CSSStyleRule?</p>
