Index: src/macros.py |
diff --git a/src/macros.py b/src/macros.py |
index 643d6c7709180ac4a54e975ccab53984e5c2ce6d..5b36421fee383d502f12961e7dc300d3c484d885 100644 |
--- a/src/macros.py |
+++ b/src/macros.py |
@@ -117,6 +117,7 @@ macro IS_SCRIPT(arg) = (%_ClassOf(arg) === 'Script'); |
macro IS_ARGUMENTS(arg) = (%_ClassOf(arg) === 'Arguments'); |
macro IS_GLOBAL(arg) = (%_ClassOf(arg) === 'global'); |
macro IS_ARRAYBUFFER(arg) = (%_ClassOf(arg) === 'ArrayBuffer'); |
+macro IS_DATAVIEW(arg) = (%_ClassOf(arg) === 'DataView'); |
macro IS_GENERATOR(arg) = (%_ClassOf(arg) === 'Generator'); |
macro IS_UNDETECTABLE(arg) = (%_IsUndetectableObject(arg)); |
macro FLOOR(arg) = $floor(arg); |