Index: src/macros.py |
diff --git a/src/macros.py b/src/macros.py |
index 2cf93724102a39c5a8bf3ec1fcf8827b58a72d07..b0228da9a59de5c1f22a384cb02205f9a69e6a27 100644 |
--- a/src/macros.py |
+++ b/src/macros.py |
@@ -93,7 +93,7 @@ macro IS_NUMBER(arg) = (typeof(arg) === 'number'); |
macro IS_STRING(arg) = (typeof(arg) === 'string'); |
macro IS_BOOLEAN(arg) = (typeof(arg) === 'boolean'); |
macro IS_SYMBOL(arg) = (typeof(arg) === 'symbol'); |
-macro IS_OBJECT(arg) = (%_IsObject(arg)); |
+macro IS_OBJECT(arg) = (typeof(arg) === 'object'); |
macro IS_ARRAY(arg) = (%_IsArray(arg)); |
macro IS_DATE(arg) = (%_IsDate(arg)); |
macro IS_FUNCTION(arg) = (%_IsFunction(arg)); |