浏览代码

fixed "is Bool".

Nicolas Cannasse 19 年之前
父节点
当前提交
4e220ea6fe
共有 1 个文件被更改,包括 1 次插入1 次删除
  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: