2.1 Basic Types
Basic types are Bool, Float and Int. They can easily be identified in the syntax by values such as
- trueand- falsefor- Bool,
- 1,- 0,- -1and- 0xFF0000for- Intand
- 1.0,- 0.0,- -1.0,- 1e10for- Float.
Basic types are not classes in Haxe. They are implemented as abstract types and are tied to the compiler's internal operator-handling as described in the following sections.