2 Replies Latest reply on Nov 6, 2011 1:32 PM by Francisc

    Check of Array element is a Button

    Francisc Level 3



      I have an array of various objects.

      I want to check if myArray[i] is a spark button.


      Is this the proper way to do this:


      if(myArray[i] is Button){...}


      Thank you.