2 Replies Latest reply on Nov 6, 2008 10:03 PM by *gsb*

    equivalent to Java "instanceof" operator

    pumpkin2k
      I came from Java world and learning Flex right now. I wonder if Flex has a way to check the class type of an object to see if the object is an instance of the class (or the class' sub-class). In Java, I would usually use "instanceof" operator like:
      if( Circle instanceof Shape) ...

      Is there something like this in Flex?

      Thanks,