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


Flash / Flex / ActionScript examples » Data Type » IsNaN »

 

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));
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Data Type
» IsNaN