I have a Boolean variable in Actionscript 3.
How can I check if it’s undefined (not by being false) because false is a value or Boolean in Actionscript is FALSE by default >
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In ActionScript,
Booleancan have eithertrueorfalsevalue only. If you don’t specify any value, it is initialized tofalseby default.Edit: This behavior is different from Java’s
Booleanobject type which is a wrapper over primitiveboolean. See @Victor’s comments below