--- In [email protected], Mark Carter <[EMAIL PROTECTED]> wrote: > > > I don't think that works when I have a variable of Class type. > > public static function isObjectInstanceOfClass(obj:Object, > cls:Class):Boolean { > return obj is cls; // compile error > }
By definition, a variable of type Class is not an instance of anything. Typically this is handled in the Framework code by casting whatever variable ought to be a Class to Class type. HTH; Amy

