I was hoping someone could give me the equivalent to PHPs
if(isset) and if(empty) operators. I checked Adobe's ActionScript
Dictionary and came up with nothing. Please help! I need an element
that can check to see if a field (text, date, etc...) is empty or
Would greatly appreciate any input, this project is for work.
In ActionScript 3, you can test for null when it comes to any
object class. For Number, you can can use isNaN (is not-a-number);
Booleans can either be true or false. If you can have 'unset'
Boolean, it is false by default.
var amount:Number; // use isNaN(amount)
var name:String; // use name == null
var person:Person; // use person == null