Advertisement
Guest User

Unbound.hx

a guest
Sep 21st, 2014
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. class Main {
  2.  
  3. static function main() {
  4. var x = Std.parseInt(Sys.args()[0]);
  5. trace(isEither(x));
  6. }
  7.  
  8. @:extern private static inline function isEither(searchForThis:Int):Bool
  9. return (searchForThis & 0xFFFFFFFE) == 0;
  10.  
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement