<br><br><div class="gmail_quote">2009/2/11 mike clemow <span dir="ltr"><<a href="mailto:gelfmuse@gmail.com">gelfmuse@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If getType() was stubbed out, then my guess is that we shouldn't mess<br>
with it. Perhaps we should change the name of this method to<br>
something else. getClass() maybe...<br>
<font color="#888888"></font></blockquote><div><br>How about ".isA( type)" that would return true or false ?<br></div></div><br>I'm suggesting that because some object may be <br>*a Object<br>*a UGen<br>*a STKInstrument<br>
*a Sitar<br><br>...all at the same time. So; "my_sitar" would return true for all those and this;<br><br>if ( my_sitar.isA( Event ) ) do.someThing();<br><br>...wouldn't work.<br><br>Does that make sense to you?<br>
<br>Kas.<br>