public static function isInt32(o:Dynamic) : Bool
{
...
}
isInt32(10) // false
isInt32(Int32.ofInt(10)) // true
For a project I need a HashMap and HashSet and therefore I created a HashCode generation algorithm which computes HashCodes of any object. The only problem is the Int32 type: In my neko unit tests the Int32 type cannot be recognized as Int32 which leads to an invalid HashCode. It would be great if the Int32 class would work like the Int64 class which has a central implementation across all plattforms.