-  
-   Notifications  You must be signed in to change notification settings 
- Fork 676
Closed
Labels
Description
When testing my assertion library, I found this gem.
 var i: i32 = 0; log<bool>((i instanceof f32) || (i instanceof f64)); // logs the value 1 in the consoleExpected behavior should return false.
As a reference for the assertion that lead me to this issue, I have some lines in my code that check to see if the generic parameter is instanceof a float value.
 it("should throw if value type is not a float", (): void => { expectFn((): void => { expect<i32>(0).toBeCloseTo(0); }).toThrow("integer values should throw on toBeCloseTo assertions"); });kungfooman and whaqzhzd