<div>This works:</div><div><br></div>assert(typeid(anonObject) == typeid(test));<br clear="all"><div><br></div>Pedro Lacerda<br><br>
<br><br><div class="gmail_quote">2012/3/5 Chris Pons <span dir="ltr"><<a href="mailto:cmpons@gmail.com" target="_blank">cmpons@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is it possible to check the type of an object to a class name?<br>
<br>
//Something like this:<br>
Class test<br>
{<br>
//...<br>
}<br>
<br>
assert(is(anonObject == typeof(test))<br>
</blockquote></div><br>