public static macro function truthy(value:Null<Dynamic>):Expr{ #if as3 return macro { $value; }; #elseif java return macro { ($value != null && $value); }; #end throw "FOOBAR"; return macro {};}
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.