Pārlūkot izejas kodu

fixed "is Bool".

Nicolas Cannasse 19 gadi atpakaļ
vecāks
revīzija
4e220ea6fe
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      std/flash/Boot.hx

+ 1 - 1
std/flash/Boot.hx

@@ -103,7 +103,7 @@ class Boot {
 			case Float:
 				return __typeof__(o) == "number";
 			case Bool:
-				return (o == true || o == false);
+				return (o === true || o === false);
 			case String:
 				return __typeof__(o) == "string";
 			case Dynamic: