To check whether a value is a valid number, use isNaN( ). : isNaN « Data Type « Flash / Flex / ActionScript






To check whether a value is a valid number, use isNaN( ).

 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        trace(isNaN(2));
    }
  }
}

        








Related examples in the same category