소스 검색

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: