Search code examples
actionscript-3haxe

How to check if a variable is defined?


In AS3, we say if a!= undefined , but how to that check in haxe?


Solution

  • Check it against null

    http://haxelearning.wikispaces.com/Data+Types+and+Variables#x-Data Types In Haxe--Unknown