Index: src/macros.py |
diff --git a/src/macros.py b/src/macros.py |
index 5e28c66a83a445530fbddb2518f8efa23ad6dae8..91b4132563911144361c1e9b41e995601113bdf3 100644 |
--- a/src/macros.py |
+++ b/src/macros.py |
@@ -90,6 +90,7 @@ macro IS_NULL(arg) = (arg === null); |
macro IS_NULL_OR_UNDEFINED(arg) = (arg == null); |
macro IS_UNDEFINED(arg) = (arg === (void 0)); |
macro IS_NUMBER(arg) = (typeof(arg) === 'number'); |
+macro IS_FLOAT32X4(arg) = (typeof(arg) === 'float32x4'); |
macro IS_STRING(arg) = (typeof(arg) === 'string'); |
macro IS_BOOLEAN(arg) = (typeof(arg) === 'boolean'); |
macro IS_SYMBOL(arg) = (typeof(arg) === 'symbol'); |
@@ -103,6 +104,7 @@ macro IS_MAP(arg) = (%_ClassOf(arg) === 'Map'); |
macro IS_WEAKMAP(arg) = (%_ClassOf(arg) === 'WeakMap'); |
macro IS_WEAKSET(arg) = (%_ClassOf(arg) === 'WeakSet'); |
macro IS_NUMBER_WRAPPER(arg) = (%_ClassOf(arg) === 'Number'); |
+macro IS_FLOAT32X4_WRAPPER(arg) = (%_ClassOf(arg) === 'Float32x4'); |
macro IS_STRING_WRAPPER(arg) = (%_ClassOf(arg) === 'String'); |
macro IS_SYMBOL_WRAPPER(arg) = (%_ClassOf(arg) === 'Symbol'); |
macro IS_BOOLEAN_WRAPPER(arg) = (%_ClassOf(arg) === 'Boolean'); |