Browse Source

fixed "is Bool".

Nicolas Cannasse 19 years ago
parent
commit
4e220ea6fe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/flash/Boot.hx

+ 1 - 1
std/flash/Boot.hx

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