Posted By

Shurik76 on 09/16/10


Tagged


Versions (?)

Check if Variable Exists


 / Published in: ActionScript
 

  1. if(myVar == "" || myVar == undefined){
  2. //It has no value OR doesn't exist at all
  3. ...
  4. } else {
  5. ...
  6. }

Report this snippet  

You need to login to post a comment.